X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftarget%2Fspawn.qc;h=a7c0c93513a32bbb736c2040e03cf2910ba749be;hb=a50c4f0676289e8ceb3a3df8bc84ad8f93085e61;hp=5b6824283cf4a1b28f6fd0ee43e68bf03a86c451;hpb=42a9e3d7ece2c716e5cd6899e90841acb7fb891b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/target/spawn.qc b/qcsrc/common/triggers/target/spawn.qc index 5b6824283..a7c0c9351 100644 --- a/qcsrc/common/triggers/target/spawn.qc +++ b/qcsrc/common/triggers/target/spawn.qc @@ -21,13 +21,13 @@ float target_spawn_spawnfunc_field; .float target_spawn_id; float target_spawn_count; -void target_spawn_helper_setmodel() -{SELFPARAM(); +void target_spawn_helper_setmodel(entity this) +{ _setmodel(self, self.model); } -void target_spawn_helper_setsize() -{SELFPARAM(); +void target_spawn_helper_setsize(entity this) +{ setsize(self, self.mins, self.maxs); }