correct weaponselect hud icon when spectating other player

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2038 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-18 17:16:49 +00:00
parent 79b9c9ac88
commit d49d1c2cbb
2 changed files with 8 additions and 9 deletions
+2 -3
View File
@@ -354,9 +354,8 @@ void recomputecamera()
case SM_FOLLOW3RD:
case SM_FOLLOW3RD_TRANSPARENT:
{
playerent *f = findfollowplayer();
if(!f) { togglespect(); return; }
playerent *p = players[player1->followplayercn];
playerent *p = findfollowplayer();
if(!p) { togglespect(); return; }
static physent followcam;
static playerent *lastplayer;
if(lastplayer != p || &followcam != camera1)