removing remnants of client-side entity-arena workaround
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5274 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user