Fix hotkey bug and compile error on Mac
This commit is contained in:
parent
d0576da69d
commit
dc3559a5c0
|
@ -364,7 +364,7 @@ function doKeyCombo(keyCombo)
|
||||||
modules.game_console.setTextEditText(hotKey.value)
|
modules.game_console.setTextEditText(hotKey.value)
|
||||||
end
|
end
|
||||||
elseif hotKey.useType == HOTKEY_MANAGER_USE then
|
elseif hotKey.useType == HOTKEY_MANAGER_USE then
|
||||||
g_game.useInventoryItemWith(hotKey.itemId)
|
g_game.useInventoryItem(hotKey.itemId)
|
||||||
elseif hotKey.useType == HOTKEY_MANAGER_USEONSELF then
|
elseif hotKey.useType == HOTKEY_MANAGER_USEONSELF then
|
||||||
g_game.useInventoryItemWith(hotKey.itemId, g_game.getLocalPlayer())
|
g_game.useInventoryItemWith(hotKey.itemId, g_game.getLocalPlayer())
|
||||||
elseif hotKey.useType == HOTKEY_MANAGER_USEONTARGET then
|
elseif hotKey.useType == HOTKEY_MANAGER_USEONTARGET then
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
|
|
||||||
#define AL_LIBTYPE_STATIC
|
#define AL_LIBTYPE_STATIC
|
||||||
|
|
||||||
#include <AL/al.h>
|
#include <al.h>
|
||||||
#include <AL/alc.h>
|
#include <alc.h>
|
||||||
|
|
||||||
class SoundManager;
|
class SoundManager;
|
||||||
class SoundSource;
|
class SoundSource;
|
||||||
|
|
Loading…
Reference in New Issue