diff -r d8856d98ce7d -r 4e2ebd8ac298 QTfrontend/selectWeapon.cpp --- a/QTfrontend/selectWeapon.cpp Wed Apr 06 00:30:02 2011 +0200 +++ b/QTfrontend/selectWeapon.cpp Wed Apr 06 11:51:23 2011 +0200 @@ -35,7 +35,7 @@ QImage getAmmoImage(int num) { static QImage ammo(":Ammos.png"); - int x = floor(num/(ammo.height()/32)); + int x = num/(ammo.height()/32); int y = (num-((ammo.height()/32)*x))*32; x*=32; return ammo.copy(x, y, 32, 32);