little fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6314 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -326,7 +326,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
|
||||
bool water = false;
|
||||
const bool editfly = pl->state==CS_EDITING;
|
||||
const bool specfly = pl->type==ENT_PLAYER && ((playerent *)pl)->spectatemode==SM_FLY;
|
||||
const bool isfly = pl->state==CS_EDITING || pl->type==ENT_PLAYER && ((playerent *)pl)->spectatemode==SM_FLY;
|
||||
const bool isfly = editfly || specfly;
|
||||
|
||||
vec d; // vector of direction we ideally want to move in
|
||||
|
||||
|
||||
Reference in New Issue
Block a user