physent bug fixed

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@507 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-06 20:07:32 +00:00
parent 301acb6efb
commit f26e54566d
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -183,6 +183,7 @@ void arenarespawn()
// Added by Rick: Let all bots respawn if were the host
if (ishost()) BotManager.RespawnBots();
//End add by Rick
clearphysents();
};
}
else if(arenadetectwait==0 || arenadetectwait<lastmillis)
@@ -619,6 +620,7 @@ void startmap(char *name) // called just after a map load
intermission = false;
framesinmap = 0;
conoutf("game mode is %s", modestr(gamemode));
clearphysents();
};
COMMANDN(map, changemap, ARG_1STR);
+1
View File
@@ -210,6 +210,7 @@ extern void physicsframe();
extern void movephysent(physent *pl);
extern physent *new_physent();
extern void mphysents();
extern void clearphysents();
// sound
extern void playsound(int n, vec *loc = 0);