05.11.2016, 18:12
MAX_GANGS is defined like:
Printfs shows me this in the console:
Yes every teritory has a valid owner.
EDIT:
When i was on my laptop that error appeared.
But now i'm on my PC and everything works fine.. lol
Код:
#define MAX_GANGS 8
Код:
[20:04:19] Loop number 1, teritory ID: 0 [20:04:19] owner: 0; owner's colorid: [20:04:19] color: 9900FFAA [20:04:19] Loop number 2, teritory ID: 1 [20:04:19] owner: 1; owner's colorid: [20:04:19] color: 55FF00AA [20:04:19] Loop number 3, teritory ID: 2 [20:04:19] owner: 2; owner's colorid: [20:04:19] color: CC00FFAA [20:04:19] Loop number 4, teritory ID: 3 [20:04:19] owner: 3; owner's colorid: [20:04:19] color: FF9900AA [20:04:19] Loop number 5, teritory ID: 4 [20:04:19] owner: 4; owner's colorid: [20:04:19] color: DDFFAA [20:04:19] Loop number 6, teritory ID: 5 [20:04:19] owner: 5; owner's colorid: [20:04:19] color: 64FFAA [20:04:19] Loop number 7, teritory ID: 6 [20:04:19] owner: 6; owner's colorid: [20:04:19] color: FFFF00AA
EDIT:
When i was on my laptop that error appeared.
But now i'm on my PC and everything works fine.. lol