This commit is contained in:
meowtech 2026-05-26 11:34:50 +00:00
parent 9e990680dc
commit 2d3d32d257
2 changed files with 4 additions and 0 deletions

View file

@ -225,6 +225,7 @@ class FastTravel
def update
zone = ZONES[$game_fasttravel.zone]
zone = zone == nil ? Zone.new("", {}, {}) : zone
if zone.locations != nil && !@legacy_ui
@arrows_timer += 1
if @arrows_timer >= 30

View file

@ -433,6 +433,9 @@ void EventThread::process(RGSSThreadData &rtData){
// more mouse support for sunshine :3c
case SDL_EVENT_MOUSE_WHEEL:
{
if (event.window.windowID != SDL_GetWindowID(rtData.window))
break;
mouseState.wheelFlipped = event.wheel.direction == SDL_MOUSEWHEEL_FLIPPED;
mouseState.wheelX += event.wheel.x;
mouseState.wheelY += event.wheel.y;