X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon.qh;h=bc98da4330f81278254b76c9296d1a4b12f24552;hp=3f09e914a6e23db8741b12d9f150977a07302a10;hb=641ed8c088e442fd907fd864c5934ae050a0c9c7;hpb=920dc1c9153a88a8089def7c8173ff1f3d7bbbdd diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index 3f09e914a..bc98da433 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -218,6 +218,6 @@ string W_Model(string w_mdl); // other useful macros #define WEP_AMMO(wpn) (WEP_##wpn.ammo_field) // only used inside weapon files/with direct name, don't duplicate prefix -#define WEP_NAME(wpn) ((get_weaponinfo(wpn)).m_name) +#define WEP_NAME(wpn) ((Weapons_from(wpn)).m_name) #endif