lots of whitespace
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5265 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -304,8 +304,10 @@ void resetspawns(int type)
|
||||
}
|
||||
}
|
||||
|
||||
void setspawn(int i, bool on) {
|
||||
if(ents.inrange(i)) {
|
||||
void setspawn(int i, bool on)
|
||||
{
|
||||
if(ents.inrange(i))
|
||||
{
|
||||
ents[i].twice = (ents[i].type == I_GRENADE && ents[i].spawned && on ? true : false);
|
||||
ents[i].spawned = on;
|
||||
if (on) ents[i].lastmillis = lastmillis; // to control trypickup spam
|
||||
|
||||
Reference in New Issue
Block a user