fix sliding in spectator fly mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3113 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -468,7 +468,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
|
||||
}
|
||||
pl->o == oo;
|
||||
}
|
||||
if(pl->type==ENT_CAMERA || (pl->type==ENT_PLAYER && pl->state==CS_DEAD))
|
||||
if(pl->type==ENT_CAMERA || (pl->type==ENT_PLAYER && pl->state==CS_DEAD && ((playerent *)pl)->spectatemode != SM_FLY))
|
||||
{
|
||||
pl->o.x -= f*d.x;
|
||||
pl->o.y -= f*d.y;
|
||||
|
||||
Reference in New Issue
Block a user