From: divverent Date: Sat, 31 Dec 2011 12:19:58 +0000 (+0000) Subject: fix a typo in V_CalcRefdef regarding csqc view entities X-Git-Tag: xonotic-v0.6.0~95 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=33ca1d961dc2d11f0f3a50082b0ac0a291f29a7f;p=xonotic%2Fdarkplaces.git fix a typo in V_CalcRefdef regarding csqc view entities git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11627 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=d02387f616897982580ed5599e6f6758482ebe5e --- diff --git a/view.c b/view.c index 5cc58755..6e5de158 100644 --- a/view.c +++ b/view.c @@ -827,7 +827,7 @@ void V_CalcRefdef (void) { entity_t *ent; - if (cls.state == ca_connected && cls.signon == SIGNONS && !cl.csqc_server2csqcentitynumber[cl.playerentity]) + if (cls.state == ca_connected && cls.signon == SIGNONS && !cl.csqc_server2csqcentitynumber[cl.viewentity]) { // ent is the view entity (visible when out of body) ent = &cl.entities[cl.viewentity];