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:
Bukz
2011-04-24 03:02:49 +00:00
parent 5080589de9
commit 0080b3cd52
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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