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=7e2ae74aabfd5080e936a2f20fc615c8989d624d;hp=14cfa564134b74e0c6633ac53d5862a05c4db6d7;hb=cf1edea8694548556934b5b05f526bc192f576cb;hpb=d99ac8ee476af3247fff826bf2b433dc250694a5 diff --git a/qcsrc/common/triggers/func/plat.qc b/qcsrc/common/triggers/func/plat.qc index 14cfa5641..7e2ae74aa 100644 --- a/qcsrc/common/triggers/func/plat.qc +++ b/qcsrc/common/triggers/func/plat.qc @@ -101,7 +101,7 @@ spawnfunc(func_plat) this.angles = '0 0 0'; this.classname = "plat"; - if (!InitMovingBrushTrigger()) + if (!InitMovingBrushTrigger(this)) return; this.effects |= EF_LOWPRECISION; setsize (this, this.mins , this.maxs); @@ -142,7 +142,7 @@ NET_HANDLE(ENT_CLIENT_PLAT, bool isnew) this.model = strzone(ReadString()); _setmodel(this, this.model); - trigger_common_read(true); + trigger_common_read(this, true); this.pos1_x = ReadCoord(); this.pos1_y = ReadCoord();