X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fplat.qc;h=8fc95bf48bd2ebdc0d7ea7a62554ab86cf395c7a;hb=5b22584122d4354ab7819853d0fa5219d14d832e;hp=d36b1c6a372daa44c8c8f3f970e87b74f6ba83ef;hpb=1d4454eb627b54e4b01a36ccce32a2767b02416c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/plat.qc b/qcsrc/common/triggers/func/plat.qc index d36b1c6a3..8fc95bf48 100644 --- a/qcsrc/common/triggers/func/plat.qc +++ b/qcsrc/common/triggers/func/plat.qc @@ -8,7 +8,7 @@ void plat_delayedinit() } float plat_send(entity to, float sf) -{ +{SELFPARAM(); WriteByte(MSG_ENTITY, ENT_CLIENT_PLAT); WriteByte(MSG_ENTITY, sf); @@ -60,7 +60,7 @@ void plat_link() } void spawnfunc_func_plat() -{ +{SELFPARAM(); if (self.sounds == 0) self.sounds = 2; @@ -134,7 +134,7 @@ void plat_draw() } void ent_plat() -{ +{SELFPARAM(); float sf = ReadByte(); if(sf & SF_TRIGGER_INIT)