From: Mario Date: Mon, 1 May 2017 18:51:30 +0000 (+1000) Subject: Compat hack: set target4 to target on info_player_start entities (we don't support... X-Git-Tag: xonotic-v0.8.5~2818 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=182a0aa9774455888ec99e613a582ed31994f1c8;p=xonotic%2Fxonotic-data.pk3dir.git Compat hack: set target4 to target on info_player_start entities (we don't support target) --- diff --git a/qcsrc/server/spawnpoints.qc b/qcsrc/server/spawnpoints.qc index 84819efbe..ed823565d 100644 --- a/qcsrc/server/spawnpoints.qc +++ b/qcsrc/server/spawnpoints.qc @@ -161,6 +161,9 @@ spawnfunc(info_player_survivor) spawnfunc(info_player_start) { + this.target4 = this.target; // COMPAT: Quake 3 maps use target for item giving entities + this.target = string_null; + spawnfunc_info_player_deathmatch(this); }