diff --git a/source/src/entities.cpp b/source/src/entities.cpp index e40acdd2..0c52e2c7 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -285,12 +285,12 @@ void checkitems(playerent *d) } } -void spawnallitems(bool is_arena) // spawns items locally +void spawnallitems() // spawns items locally { loopv(ents) if(ents[i].fitsmode(gamemode) || (multiplayer(false) && gamespeed!=100 && (i=-1))) { ents[i].spawned = true; - if(!is_arena) ents[i].twice = false; + ents[i].twice = false; ents[i].lastmillis = lastmillis; } } diff --git a/source/src/protos.h b/source/src/protos.h index 559b0bed..5d13c747 100644 --- a/source/src/protos.h +++ b/source/src/protos.h @@ -644,7 +644,7 @@ extern void checkakimbo(); extern struct projectile *newprojectile(vec &from, vec &to, float speed, bool local, playerent *owner, int gun, int id = lastmillis); // entities -extern void spawnallitems(bool is_arena = false); +extern void spawnallitems(); extern void pickupeffects(int n, playerent *d); extern void renderentities(); extern void rendermapmodels();