X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Ft_quake.qc;h=dac8f193001de334cd0e19e2838176a86f26721c;hb=32c4c039d8cdaac9b8c51233ba51af32fd7425c4;hp=29de5d4c71a530623e0e938e291bf0976c618574;hpb=21307f327df5609b82d90496c1c6156d636d1c8d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/t_quake.qc b/qcsrc/server/t_quake.qc index 29de5d4c7..dac8f1930 100644 --- a/qcsrc/server/t_quake.qc +++ b/qcsrc/server/t_quake.qc @@ -1,5 +1,6 @@ +#include "t_quake.qh" -#include "../common/weapons/all.qh" +#include spawnfunc(weapon_electro); spawnfunc(weapon_hagar); @@ -20,8 +21,8 @@ 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(self);} -spawnfunc(item_health) {if (self.spawnflags & 2) spawnfunc_item_health_mega(this);else spawnfunc_item_health_medium(this);} +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 //spawnfunc_item_health