From d02387f616897982580ed5599e6f6758482ebe5e Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 31 Dec 2011 12:19:58 +0000 Subject: [PATCH] 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 --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.2