demo stuck bug fixed

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1911 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-10 13:29:37 +00:00
parent 1f6007d35f
commit 715af8260b
7 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
{
bool water = false;
const bool editfly = (editmode && local) || pl->state==CS_EDITING;
const bool specfly = local && pl->type==ENT_PLAYER && ((playerent *)pl)->spectating==SM_FLY;
const bool specfly = local && pl->type==ENT_PLAYER && ((playerent *)pl)->spectatemode==SM_FLY;
vec d; // vector of direction we ideally want to move in