From 60fcf0e6689a75c1b15f5abd302ebc8a0febc432 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sun, 27 Jul 2008 22:14:23 +0000 Subject: [PATCH] attempt to fix spectator-stuck-bug git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2230 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/physics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 02ac3e38..2564902d 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -398,7 +398,8 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime) hitplayer = NULL; if(collide(pl, false, drop, rise)) continue; else collided = true; - if(pl->type==ENT_CAMERA) return; + // fs: trying to fix the spectator bug (monochrome screen et al) + //if(pl->type==ENT_CAMERA) continue; //return; if(pl->type==ENT_PLAYER && hitplayer) { float dx = hitplayer->o.x-pl->o.x, dy = hitplayer->o.y-pl->o.y, mag = sqrtf(dx*dx+dy*dy);