]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bring back LAMBDA incase it actually does something here
authorMario <mario@smbclan.net>
Sun, 3 Jan 2016 15:17:22 +0000 (01:17 +1000)
committerMario <mario@smbclan.net>
Sun, 3 Jan 2016 15:17:22 +0000 (01:17 +1000)
qcsrc/client/view.qc

index 790f92926fa8fb0dc20cd05ea5be93f77157f664..17dbf0ba96e03504549654490554adae99c87761 100644 (file)
@@ -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();