*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@698 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -314,7 +314,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
|
||||
else if(pl->inwater && !water) playsound(S_SPLASH1, &pl->o);
|
||||
pl->inwater = water;
|
||||
// Added by Rick: Easy hack to store previous locations of all players/monsters/bots
|
||||
if(pl->type==ENT_PLAYER || pl->type==ENT_BOT) ((playerent *)pl)->PrevLocations.Update(pl->o);
|
||||
if(pl->type==ENT_PLAYER || pl->type==ENT_BOT) ((playerent *)pl)->history.update(pl->o, lastmillis);
|
||||
// End add
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user