fix arenamode pickups just before end-of-round locally (sanity check please)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5266 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-07-02 17:49:57 +00:00
parent 94dc526837
commit 229cc9a378
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -285,12 +285,12 @@ void checkitems(playerent *d)
}
}
void spawnallitems() // spawns items locally
void spawnallitems(bool is_arena) // spawns items locally
{
loopv(ents) if(ents[i].fitsmode(gamemode) || (multiplayer(false) && gamespeed!=100 && (i=-1)))
{
ents[i].spawned = true;
ents[i].twice = false;
if(!is_arena) ents[i].twice = false;
ents[i].lastmillis = lastmillis;
}
}