From: Mario Date: Sun, 3 Jan 2016 15:17:22 +0000 (+1000) Subject: Bring back LAMBDA incase it actually does something here X-Git-Tag: xonotic-v0.8.2~1302 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=25ab4d679951a156a5d7f407655795edd748773c;p=xonotic%2Fxonotic-data.pk3dir.git Bring back LAMBDA incase it actually does something here --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 790f92926..17dbf0ba9 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1839,7 +1839,7 @@ void CSQC_UpdateView(float w, float h) mousepos = mousepos*0.5 + getmousepos(); */ - FOREACH_ENTITY(it.draw, it.draw(it)); + FOREACH_ENTITY(it.draw, LAMBDA(it.draw(it))); addentities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS); renderscene(); @@ -2169,7 +2169,7 @@ void CSQC_UpdateView(float w, float h) } else */ // draw 2D entities - FOREACH_ENTITY(it.draw2d, it.draw2d(it)); + FOREACH_ENTITY(it.draw2d, LAMBDA(it.draw2d(it))); Draw_ShowNames_All(); Debug_Draw();