spawnfunc(name) { weapon_defaultspawnfunc(this, weapon); }
#define SPAWNFUNC_WEAPON_COND(name, cond, wep1, wep2) \
- spawnfunc(name) \
- { \
- entity wep = (cond) ? wep1 : wep2; \
- weapon_defaultspawnfunc(this, wep); \
- }
+ SPAWNFUNC_WEAPON(name, (cond ? wep1 : wep2))
#else
entity GetAmmoItem(int ammotype);
-#ifdef SVQC
-int GetAmmoConsumptionPrimary(string netname);
-#endif
-
#ifdef CSQC
int GetAmmoTypeFromNum(int i);
int GetAmmoStat(int ammotype);