#include "../common/constants.qh"
#include "../common/mapinfo.qh"
-#include "../common/nades.qh"
+#include "../common/nades/all.qh"
#include "../common/stats.qh"
#include "../common/triggers/target/music.qh"
#include "../common/teams.qh"
entity porto;
vector polyline[16];
-void Porto_Draw()
+void Porto_Draw(entity this)
{
vector p, dir, ang, q, nextdir;
float portal_number, portal1_idx;
*/
for(entity e = NULL; (e = nextent(e)); ) if (e.draw) {
- WITH(entity, self, e, e.draw());
+ WITH(entity, self, e, e.draw(e));
}
addentities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS);
// draw 2D entities
for (entity e = NULL; (e = nextent(e)); ) if (e.draw2d) {
- WITH(entity, self, e, e.draw2d());
+ WITH(entity, self, e, e.draw2d(e));
}
Draw_ShowNames_All();