X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fdoor.qc;h=8a82802607bdcdb09f505d11248419d5e4d20977;hb=06ac66a5edaa645e19ed9a6482409e8656a65b1d;hp=a0fb12a4c4806c10140a7f32645e75f6b190ae70;hpb=a4bcbda7a1eb2367fae1c2514d474d426803a673;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/door.qc b/qcsrc/common/triggers/func/door.qc index a0fb12a4c..8a8280260 100644 --- a/qcsrc/common/triggers/func/door.qc +++ b/qcsrc/common/triggers/func/door.qc @@ -1,3 +1,4 @@ +#include "door.qh" /* Doors are similar to buttons, but can spawn a fat trigger field around them @@ -525,7 +526,7 @@ void LinkDoors(entity this) break; } } - LOG_TRACE("\n"); + LOG_TRACE(""); // collect health, targetname, message, size cmins = this.absmin; @@ -815,7 +816,7 @@ NET_HANDLE(ENT_CLIENT_DOOR, bool isnew) this.SUB_LTIME = ReadCoord(); this.solid = SOLID_BSP; - this.move_movetype = MOVETYPE_PUSH; + set_movetype(this, MOVETYPE_PUSH); this.use = door_use; LinkDoors(this); @@ -824,7 +825,7 @@ NET_HANDLE(ENT_CLIENT_DOOR, bool isnew) door_init_startopen(this); this.move_time = time; - this.move_movetype = MOVETYPE_PUSH; + set_movetype(this, MOVETYPE_PUSH); } if(sf & SF_TRIGGER_RESET)