Fix webclient not compiling

This commit is contained in:
UnknownShadow200 2019-10-19 09:05:03 +11:00
parent 2c8520e3a1
commit e61d784b64
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,7 @@ void Input_AddTouch(long id, int x, int y) {
Pointer_SetPressed(i, true); Pointer_SetPressed(i, true);
} }
static bool MovedFromBeg(int i, int x, int y) { static cc_bool MovedFromBeg(int i, int x, int y) {
return Math_AbsI(x - touches[i].begX) > Display_ScaleX(5) || return Math_AbsI(x - touches[i].begX) > Display_ScaleX(5) ||
Math_AbsI(y - touches[i].begY) > Display_ScaleY(5); Math_AbsI(y - touches[i].begY) > Display_ScaleY(5);
} }

View File

@ -884,7 +884,6 @@ static void EditHotkeyScreen_Init(void* screen) {
Menu_Back(s, 5, &s->cancel, Menu_SwitchHotkeys); Menu_Back(s, 5, &s->cancel, Menu_SwitchHotkeys);
Window_OpenKeyboard(); Window_OpenKeyboard();
} }
static void SaveLevelScreen_Free(void* s) { Window_CloseKeyboard(); }
static const struct ScreenVTABLE EditHotkeyScreen_VTABLE = { static const struct ScreenVTABLE EditHotkeyScreen_VTABLE = {
EditHotkeyScreen_Init, EditHotkeyScreen_Render, Menu_CloseKeyboard, EditHotkeyScreen_Init, EditHotkeyScreen_Render, Menu_CloseKeyboard,