X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fshownames.qc;h=6700ba61c7b87cadfee0438093ffdf46a2d5ee7e;hb=8cbf0e84432e075e617f43c037c645ea9846eba0;hp=5368cb6429177ef4130a10e45610596485cab269;hpb=834fed09016056ff2cd32d1980f0719d09c403a2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/shownames.qc b/qcsrc/client/shownames.qc index 5368cb642..6700ba61c 100644 --- a/qcsrc/client/shownames.qc +++ b/qcsrc/client/shownames.qc @@ -167,7 +167,6 @@ void Draw_ShowNames(entity this) void Draw_ShowNames_All() { - SELFPARAM(); if (!autocvar_hud_shownames) return; LL_EACH(shownames_ent, true, { entity entcs = entcs_receiver(i); @@ -177,8 +176,8 @@ void Draw_ShowNames_All() continue; } make_impure(it); - assert(entcs.think, eprint(entcs)); - WITHSELF(entcs, entcs.think()); + assert(getthink(entcs), eprint(entcs)); + getthink(entcs)(entcs); if (!entcs.has_origin) continue; if (entcs.m_entcs_private) {