GetMaxPlayers() as a constant
#2

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.
Reply


Messages In This Thread
GetMaxPlayers() as a constant - by Spectre - 13.04.2009, 14:21
Re: GetMaxPlayers() as a constant - by Donny_k - 13.04.2009, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)