Changed: Minor change

--HG--
branch : compatibility-develop
This commit is contained in:
kervala 2016-10-24 13:54:20 +02:00
parent ea30d0051b
commit a4fa0ca0fe

View file

@ -130,7 +130,7 @@ CCombatWeapon::CCombatWeapon(CGameItemPtr itemPtr)
// weapon hit rate is in hit/10s and we use ticks/hits.... // weapon hit rate is in hit/10s and we use ticks/hits....
if (itemPtr->hitRate() != 0) if (itemPtr->hitRate() != 0)
{ {
LatencyInTicks = (10.0 / itemPtr->hitRate() ) / CTickEventHandler::getGameTimeStep(); LatencyInTicks = (10.0 / itemPtr->hitRate()) / CTickEventHandler::getGameTimeStep();
} }
Quality = (uint16)itemPtr->recommended(); Quality = (uint16)itemPtr->recommended();