Draw: purge SELFPARAM
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / generator.qc
index 148a8f5..eed6827 100644 (file)
@@ -3,8 +3,8 @@
 .int count;
 .float max_health;
 
-void ons_generator_ray_draw()
-{SELFPARAM();
+void ons_generator_ray_draw(entity this)
+{
        if(time < self.move_time)
                return;
 
@@ -42,8 +42,8 @@ void ons_generator_ray_spawn(vector org)
        e.draw = ons_generator_ray_draw;
 }
 
-void generator_draw()
-{SELFPARAM();
+void generator_draw(entity this)
+{
        if(time < self.move_time)
                return;