]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Compat hack: set target4 to target on info_player_start entities (we don't support...
authorMario <mario@smbclan.net>
Mon, 1 May 2017 18:51:30 +0000 (04:51 +1000)
committerMario <mario@smbclan.net>
Mon, 1 May 2017 18:51:30 +0000 (04:51 +1000)
qcsrc/server/spawnpoints.qc

index 84819efbe1c6b51f407c9e9e9b509dcd82aab441..ed823565dc709092e235da8860ee7199d3a4c0f4 100644 (file)
@@ -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);
 }