]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Enable a Quake entity long since forgotten
authorMario <mario@smbclan.net>
Fri, 10 Jun 2016 11:59:40 +0000 (21:59 +1000)
committerMario <mario@smbclan.net>
Fri, 10 Jun 2016 11:59:40 +0000 (21:59 +1000)
qcsrc/server/t_quake.qc

index 9096acc23576aecce3d20fd93d0759c0622bbb76..8589ecc7df3ce24aeab612d96f37ff0622d1c09b 100644 (file)
@@ -21,7 +21,7 @@ spawnfunc(weapon_supershotgun) {spawnfunc_weapon_machinegun(this);}
 spawnfunc(item_spikes) {spawnfunc_item_bullets(this);}
 //spawnfunc(item_armor1) {spawnfunc_item_armor_medium(this);}  // FIXME: in Quake this is green armor, in Xonotic maps it is an armor shard
 spawnfunc(item_armor2) {spawnfunc_item_armor_large(this);}
-void item_armorInv() {SELFPARAM();spawnfunc_item_armor_large(this);} // FIXME: we require spawnfunc_ prefix for functions to be map entities
+spawnfunc(item_armorInv) {spawnfunc_item_armor_large(this);} // TODO: make sure we actually want this
 spawnfunc(item_health) {if (this.spawnflags & 2) spawnfunc_item_health_mega(this);else spawnfunc_item_health_medium(this);}
 
 //spawnfunc_item_spikes