From bf440a7e72f814a49852db5cb4e43671d9317d22 Mon Sep 17 00:00:00 2001 From: Bukz Date: Mon, 16 May 2011 20:05:39 +0000 Subject: [PATCH] removing useless bit on "isfly" git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6445 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/physics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 64bb72a6..80e14d3c 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -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 || player1->spectatemode==SM_FLY; + const bool isfly = editfly || specfly; vec d; // vector of direction we ideally want to move in