diff --git a/Source/Contents/Hotkeys/UserHotkeyScript.cpp b/Source/Contents/Hotkeys/UserHotkeyScript.cpp index 8a58d27d..eb87da51 100644 --- a/Source/Contents/Hotkeys/UserHotkeyScript.cpp +++ b/Source/Contents/Hotkeys/UserHotkeyScript.cpp @@ -28,13 +28,13 @@ void SaveUserHotkeys() { // OFFSET: 0x005F8B20 // FUNCTION: fn_04064 -void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description) { +void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description) { g_session.m_hotkeyScript->Call("ChangeUserHotKey", "ddsdd", tab + 1, index, description.c_str(), key1, key2); } // OFFSET: 0x005BD660 // FUNCTION: fn_03473 -void __stdcall LoadUserHotkeyTab(Json::Value& values, int tab) { +void LoadUserHotkeyTab(Json::Value& values, int tab) { Json::Value entries = values; for (auto item = entries.begin(); item != entries.end(); ++item) { diff --git a/Source/Contents/Hotkeys/UserHotkeyScript.h b/Source/Contents/Hotkeys/UserHotkeyScript.h index ae263b95..099d9f9a 100644 --- a/Source/Contents/Hotkeys/UserHotkeyScript.h +++ b/Source/Contents/Hotkeys/UserHotkeyScript.h @@ -8,8 +8,8 @@ void ClearUserHotkeys(); void SaveUserHotkeys(); -void __stdcall ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); -void __stdcall LoadUserHotkeyTab(Json::Value& values, int tab); +void ChangeUserHotkey(int tab, int index, int key1, int key2, const std::string& description); +void LoadUserHotkeyTab(Json::Value& values, int tab); inline void ClearUserHotkeys(LuaScript&) { ClearUserHotkeys();