]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/all.qc
Do 10 more stats
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / all.qc
index f0d7b19b611246b52994536bf5909f4cb922f10e..6315808e06ad45b47d845fc673b0db7cb6e8c08e 100644 (file)
@@ -282,7 +282,7 @@ int GetAmmoStat(.int ammotype)
                case ammo_nails: return STAT_NAILS;
                case ammo_rockets: return STAT_ROCKETS;
                case ammo_cells: return STAT_CELLS;
-               case ammo_plasma: return STAT_PLASMA;
+               case ammo_plasma: return STAT_PLASMA.m_id;
                case ammo_fuel: return STAT_FUEL.m_id;
                default: return -1;
        }