|
|
@@ -527,9 +527,9 @@ void BattleInterface::setAnimSpeed(int set)
|
|
|
int BattleInterface::getAnimSpeed() const
|
|
|
{
|
|
|
if(settings["session"]["spectate"].Bool() && !settings["session"]["spectate-battle-speed"].isNull())
|
|
|
- return static_cast<int>(vstd::round(settings["session"]["spectate-battle-speed"].Float() *100));
|
|
|
+ return static_cast<int>(vstd::round(settings["session"]["spectate-battle-speed"].Float()));
|
|
|
|
|
|
- return static_cast<int>(vstd::round(settings["battle"]["animationSpeed"].Float() *100));
|
|
|
+ return static_cast<int>(vstd::round(settings["battle"]["animationSpeed"].Float()));
|
|
|
}
|
|
|
|
|
|
CPlayerInterface *BattleInterface::getCurrentPlayerInterface() const
|