X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fshownames.qc;h=6700ba61c7b87cadfee0438093ffdf46a2d5ee7e;hb=8cbf0e84432e075e617f43c037c645ea9846eba0;hp=ea1d1f9ca601917dbc44bac107b87c583527d109;hpb=66189615a05cc66dd0ee544a2bbc841c4f426193;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/shownames.qc b/qcsrc/client/shownames.qc index ea1d1f9ca6..6700ba61c7 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)); - WITH(entity, self, entcs, entcs.think()); + assert(getthink(entcs), eprint(entcs)); + getthink(entcs)(entcs); if (!entcs.has_origin) continue; if (entcs.m_entcs_private) {