mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Implement lights, thanks @Tarjei400
Now otclient have lights! This code was originally made by @Tarjei400, I have improved it and merged into otclient master. Many thanks for tarjei for the contribution. Warning, this still experimental, fixes may come in the next days.
This commit is contained in:
@@ -4,6 +4,7 @@ function UIGameMap.create()
|
||||
local gameMap = UIGameMap.internalCreate()
|
||||
gameMap:setKeepAspectRatio(true)
|
||||
gameMap:setVisibleDimension({width = 15, height = 11})
|
||||
gameMap:setDrawLights(true)
|
||||
return gameMap
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user