#pragma once
#ifdef CSQC
-#include <client/defs.qh>
+#include <client/csqcmodel_hooks.qh>
#endif
REGISTER_NET_LINKED(ENT_CLIENT_ENTCS)
REGISTER_NET_TEMP(CLIENT_ENTCS)
+#ifdef CSQC
/** True when private information such as origin is available */
.bool m_entcs_private;
/** True when a recent server sent origin has been received */
.bool has_sv_origin;
+#endif
+.int sv_solid;
#ifdef SVQC
/*
void entcs_force_origin(entity player);
+ bool radar_showenemies;
+
#endif
#ifdef CSQC
int fr = ((e) ? e.frags : stof(getplayerkeyvalue(i, "frags")));
if (unconnected || fr == FRAGS_SPECTATOR)
return ENTCS_SPEC_PURE;
- int sol = ((e) ? e.solid : SOLID_NOT);
+ int sol = ((e) ? e.sv_solid : SOLID_NOT);
if (fr == FRAGS_PLAYER_OUT_OF_GAME && sol == SOLID_NOT)
return ENTCS_SPEC_IN_SCOREBOARD;
return 0;