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:
Rafael Barreto
2010-05-28 20:06:32 +00:00
parent 7208dbb44f
commit 9a9cd45d01
+1 -1
View File
@@ -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;