seriously... what is the problem in putting a variable size array in the stack?
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5091 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -3160,7 +3160,7 @@ void linequalitystats(int elapsed)
|
||||
void sendscores()
|
||||
{
|
||||
if ( gamemillis < nextsendscore ) return;
|
||||
int count = 0, list[clientnumber];
|
||||
int count = 0, list[MAXCLIENTS];
|
||||
loopv(clients) {
|
||||
client &c = *clients[i];
|
||||
if ( c.type!=ST_TCPIP || !c.isauthed || !c.md.updatedpoints ) continue;
|
||||
|
||||
Reference in New Issue
Block a user