mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 19:15:14 -04:00
Fix webclient not compiling
This commit is contained in:
parent
2c8520e3a1
commit
e61d784b64
@ -80,7 +80,7 @@ void Input_AddTouch(long id, int x, int y) {
|
||||
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) ||
|
||||
Math_AbsI(y - touches[i].begY) > Display_ScaleY(5);
|
||||
}
|
||||
|
@ -884,7 +884,6 @@ static void EditHotkeyScreen_Init(void* screen) {
|
||||
Menu_Back(s, 5, &s->cancel, Menu_SwitchHotkeys);
|
||||
Window_OpenKeyboard();
|
||||
}
|
||||
static void SaveLevelScreen_Free(void* s) { Window_CloseKeyboard(); }
|
||||
|
||||
static const struct ScreenVTABLE EditHotkeyScreen_VTABLE = {
|
||||
EditHotkeyScreen_Init, EditHotkeyScreen_Render, Menu_CloseKeyboard,
|
||||
|
Loading…
x
Reference in New Issue
Block a user