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:
flowtron
2010-07-02 16:49:20 +00:00
parent fd3742ce79
commit 94dc526837
13 changed files with 126 additions and 77 deletions
+4 -2
View File
@@ -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