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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user