X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fshownames.qc;h=6700ba61c7b87cadfee0438093ffdf46a2d5ee7e;hb=ee7a78f942624de2ab30112a798e3f663cf9cc2f;hp=fc36c47274d6ebeefbd7a23d1aef31036ac289f1;hpb=6f4c7132e635c0150e3894f2f9958b361ce0c238;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/shownames.qc b/qcsrc/client/shownames.qc index fc36c4727..6700ba61c 100644 --- a/qcsrc/client/shownames.qc +++ b/qcsrc/client/shownames.qc @@ -2,11 +2,12 @@ #include "hud/all.qh" -#include "../common/constants.qh" -#include "../common/mapinfo.qh" -#include "../common/teams.qh" +#include +#include +#include +#include -#include "../lib/csqcmodel/cl_model.qh" +#include // this.isactive = player is in range and coordinates/status (health and armor) are up to date // this.origin = player origin @@ -175,8 +176,8 @@ void Draw_ShowNames_All() continue; } make_impure(it); - assert(entcs.think, eprint(entcs)); - WITH(entity, self, entcs, entcs.think()); + assert(getthink(entcs), eprint(entcs)); + getthink(entcs)(entcs); if (!entcs.has_origin) continue; if (entcs.m_entcs_private) {