phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
How do I create this array?
int iReligionInfluence[GC.getNumReligionInfos()]
Compiler doesn't like it because:
"expected constant expression" (how is getNumReligionInfos() not constant? This cannot change mid game
)
"cannot allocate an array of constant size 0"
Anyone know any work arounds?
int iReligionInfluence[GC.getNumReligionInfos()]
Compiler doesn't like it because:
"expected constant expression" (how is getNumReligionInfos() not constant? This cannot change mid game

"cannot allocate an array of constant size 0"
Anyone know any work arounds?