X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcompat%2Fquake2.qc;h=19f9ebf404426be0080aa8e389821860a431a54c;hb=dba16d1e3e79360f1167ec2965a551e56c3bdcf2;hp=df99f1570388c1a92bdcc6300d80b81027c83262;hpb=7e474d576080259e21690de30778b17029b5c0f2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/compat/quake2.qc b/qcsrc/server/compat/quake2.qc index df99f1570..19f9ebf40 100644 --- a/qcsrc/server/compat/quake2.qc +++ b/qcsrc/server/compat/quake2.qc @@ -1,15 +1,12 @@ #include "quake2.qh" -spawnfunc(item_armor_medium); - -spawnfunc(item_invincible); - +#include //*********************** //QUAKE 2 ENTITIES - So people can play quake2 maps with the xonotic weapons //*********************** -spawnfunc(item_armor_jacket) {spawnfunc_item_armor_medium(this);} +SPAWNFUNC_ITEM(item_armor_jacket, ITEM_ArmorMedium) -spawnfunc(item_invulnerability) {spawnfunc_item_invincible(this);} +SPAWNFUNC_ITEM(item_invulnerability, ITEM_Shield) // rest of the quake 2 entities are handled by q1 and q3 compat