]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Convert medkit to mega armor (being a holdable means it's supposed to last, unlike...
authorMario <mario@smbclan.net>
Mon, 13 Feb 2017 01:49:45 +0000 (11:49 +1000)
committerMario <mario@smbclan.net>
Mon, 13 Feb 2017 01:49:45 +0000 (11:49 +1000)
qcsrc/server/compat/quake3.qc

index e5cff0b9f1bb017eec9564290fcfc200b360abbf..02bd04d5d6082d5f1824a1cdabd71a1324e85455 100644 (file)
@@ -64,6 +64,9 @@ spawnfunc(item_armor_combat)   { spawnfunc_item_armor_big(this);      }
 spawnfunc(item_armor_shard)    { spawnfunc_item_armor_small(this);    }
 spawnfunc(item_enviro)         { spawnfunc_item_invincible(this);     }
 
+// medkit -> armor (we have no holdables)
+spawnfunc(holdable_medkit)        { spawnfunc_item_armor_mega(this);    }
+
 .float wait;
 .float delay;