X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fplat.qc;h=fc62341a85a3a09b65b158d09d6e4d2fce92cf40;hp=f2c57be21ec223e5d4ec12feed5a1abf73a878a9;hb=9ae63d858415772fdb60bd549758825103c0ba17;hpb=8da45596c76bb645e864b4ec8ff5a3ee13bbf27c diff --git a/qcsrc/common/triggers/func/plat.qc b/qcsrc/common/triggers/func/plat.qc index f2c57be21e..fc62341a85 100644 --- a/qcsrc/common/triggers/func/plat.qc +++ b/qcsrc/common/triggers/func/plat.qc @@ -59,8 +59,8 @@ void plat_link() //Net_LinkEntity(self, 0, false, plat_send); } -void spawnfunc_func_plat() -{SELFPARAM(); +spawnfunc(func_plat) +{ if (self.sounds == 0) self.sounds = 2; @@ -127,7 +127,7 @@ void spawnfunc_func_plat() InitializeEntity(self, plat_delayedinit, INITPRIO_FINDTARGET); } #elif defined(CSQC) -void plat_draw() +void plat_draw(entity this) { Movetype_Physics_NoMatchServer(); //Movetype_Physics_MatchServer(autocvar_cl_projectiles_sloppy);