mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-06 06:30:33 -04:00
dryad doesn't shoot through wall, demon softlock, end of round for spells
This commit is contained in:
parent
936bafca5a
commit
5901dc8a4b
12 changed files with 93 additions and 40 deletions
|
@ -552,9 +552,6 @@ void SDLContext::event_loop(std::stop_token stp) {
|
|||
case 3: ms_event.tl2 = !up; shift = 3; break;
|
||||
}
|
||||
ms_event.event_type |= (1<<(shift+up));
|
||||
if (e.type == SDL_MOUSEBUTTONDOWN && e.button.clicks == 2 && e.button.button == 1) {
|
||||
ms_event.event_type |= MS_EVENT_MOUSE_LDBLCLK;
|
||||
}
|
||||
} else if (e.type == SDL_MOUSEWHEEL) {
|
||||
if (e.wheel.y > 0) kbdevent =SDL_SCANCODE_UP;
|
||||
else if (e.wheel.y < 0) kbdevent =SDL_SCANCODE_DOWN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue