13.04.2009, 15:25
GetMaxPlayers() is returning a value and isn't an actuall value itself so the compiler sees it as a function call (not a constant) and not a value hence the hissy fit (crash).
You could always use #undef on the MAX_PLAYERS define then redefine it but I understand it's not what you want.
You could always use #undef on the MAX_PLAYERS define then redefine it but I understand it's not what you want.