Version 1.6 - important fix for high memory usage

This commit is contained in:
OTCv8
2020-01-01 23:22:56 +01:00
parent d15cc347dc
commit 1d2bdf855d
21 changed files with 83 additions and 322 deletions

View File

@@ -9,9 +9,9 @@ end
function updateFeatures(version)
g_game.resetFeatures()
-- you can add custom features here, list of them in modules\gamelib\const.lua
-- you can add custom features here, list of them is in the modules\gamelib\const.lua
g_game.enableFeature(GameBot)
g_game.enableFeature(GameMinimapLimitedToSingleFloor)
--g_game.enableFeature(GameMinimapLimitedToSingleFloor) -- it will generate minimap only for current floor
--g_game.enableFeature(GameSpritesAlphaChannel)
if(version >= 770) then
@@ -91,6 +91,10 @@ function updateFeatures(version)
g_game.enableFeature(GameAdditionalVipInfo)
end
if(version >= 972) then
g_game.enableFeature(GameDoublePlayerGoodsMoney)
end
if(version >= 980) then
g_game.enableFeature(GamePreviewState)
g_game.enableFeature(GameClientVersion)