even more fly updates

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6352 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-26 00:36:04 +00:00
parent f9a2e7c52d
commit 0c48eb7998
5 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -328,7 +328,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 = editfly || specfly;
const bool isfly = editfly || specfly || player1->spectatemode==SM_FLY;
vec d; // vector of direction we ideally want to move in