]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Fix use of self in .draw
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 8752f6dcf4039707b765d6f0e8bb6d120e54a42c..790f92926fa8fb0dc20cd05ea5be93f77157f664 100644 (file)
@@ -1839,7 +1839,7 @@ void CSQC_UpdateView(float w, float h)
           mousepos = mousepos*0.5 + getmousepos();
         */
 
-       FOREACH_ENTITY(it.draw, LAMBDA(WITH(entity, self, it, it.draw(it))));
+       FOREACH_ENTITY(it.draw, it.draw(it));
 
        addentities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS);
        renderscene();