mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
compile error, lua const
This commit is contained in:
@@ -41,9 +41,9 @@ function Client.init()
|
||||
g_window.show()
|
||||
|
||||
-- play startup music
|
||||
g_sounds.playMusic("startup.ogg", 3)
|
||||
connect(g_game, { onGameStart = function() g_sounds.stopMusic(3) end })
|
||||
connect(g_game, { onGameEnd= function() g_sounds.playMusic("startup.ogg", 3) end })
|
||||
--g_sounds.playMusic("startup.ogg", 3)
|
||||
--connect(g_game, { onGameStart = function() g_sounds.stopMusic(3) end })
|
||||
--connect(g_game, { onGameEnd= function() g_sounds.playMusic("startup.ogg", 3) end })
|
||||
end, 0)
|
||||
end, 0)
|
||||
end
|
||||
|
@@ -12,7 +12,10 @@ LogWarning = 2
|
||||
LogError = 3
|
||||
LogFatal = 4
|
||||
|
||||
MouseFocusReason = 0
|
||||
KeyboardFocusReason = 1
|
||||
ActiveFocusReason = 2
|
||||
OtherFocusReason = 3
|
||||
|
||||
KeyboardNoModifier = 0
|
||||
KeyboardCtrlModifier = 1
|
||||
|
Reference in New Issue
Block a user