]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon.qh
Revert cleanup of havocbot_chooseenemy (gameplay change rejected)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon.qh
index c525bb81b954ef1d90a5fbe49c3547442a22708a..7b2f4b5b7a03b33073ecd0ba3c9d63e08dc1e6ce 100644 (file)
@@ -134,7 +134,7 @@ ENDCLASS(Weapon)
 CLASS(WeaponPickup, Pickup)
     ATTRIB(WeaponPickup, m_weapon, Weapon);
     ATTRIB(WeaponPickup, m_name, string);
-#ifndef MENUQC
+#ifdef GAMEQC
     ATTRIB(WeaponPickup, m_sound, Sound, SND_WEAPONPICKUP);
 #endif
 #ifdef SVQC
@@ -146,7 +146,7 @@ CLASS(WeaponPickup, Pickup)
         CONSTRUCT(WeaponPickup);
         this.m_weapon = w;
         this.m_name = w.m_name;
-#ifndef MENUQC
+#ifdef GAMEQC
         this.m_model = w.m_model;
 #endif
 #ifdef SVQC