mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Some fixes to spells/cooldowns.
* Fixed 'progress' bug for spells in the cooldown module. * Fixed a bug with GameForceFirstAutoWalkStep feature. * Moved the spells ID to its SpellInfo row. * Lower cased table functions (consistant).
This commit is contained in:
@@ -133,6 +133,8 @@ function onGameStart()
|
||||
-- open tibia has delay in auto walking
|
||||
if not g_game.isOfficialTibia() then
|
||||
g_game.enableFeature(GameForceFirstAutoWalkStep)
|
||||
else
|
||||
g_game.disableFeature(GameForceFirstAutoWalkStep)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -708,4 +710,4 @@ function limitZoom()
|
||||
limitZoom = true
|
||||
gameMapPanel:setMaxZoomOut(11)
|
||||
gameMapPanel:setLimitVisibleRange(true)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user