From e89d5f9600beeec36fa2410456b65177f7f4c61f Mon Sep 17 00:00:00 2001 From: driAn Date: Fri, 23 May 2008 20:15:13 +0000 Subject: [PATCH] fixed player hud during spectate git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2091 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clients2c.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index 667f38b4..6ce45286 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -287,6 +287,8 @@ void parsemessages(int cn, playerent *d, ucharbuf &p) { int ls = getint(p), gunselect = getint(p); if(!d) break; + d->respawn(); + d->spawnstate(gamemode); d->lifesequence = ls; d->state = CS_SPAWNING; d->selectweapon(gunselect);