]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a bug in the loaded rockets stat. Crosshair ring now indicates the proper value.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Apr 2011 12:41:23 +0000 (15:41 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 11 Apr 2011 12:41:23 +0000 (15:41 +0300)
qcsrc/server/g_world.qc

index 960caaeffee5a6382315882cc514916cef2dae3d..135f65b2c19780918995b97ee9f1b06627bbf988 100644 (file)
@@ -833,7 +833,7 @@ void spawnfunc_worldspawn (void)
        addstat(STAT_NEX_CHARGE, AS_FLOAT, nex_charge);
        addstat(STAT_NEX_CHARGEPOOL, AS_FLOAT, nex_chargepool_ammo);
 
-       addstat(STAT_HAGAR_LOAD, AS_FLOAT, hagar_load);
+       addstat(STAT_HAGAR_LOAD, AS_INT, hagar_load);
 
        if(g_ca || g_freezetag)
        {