git repos / saland

commit 5f40e437

Poul Sander · 2026-01-10 11:21
5f40e437597023b8a0913aff2498d58c4c6f7d4a patch · browse files
parent 523ea1b87fbabfc8a4f0e4dc9450b2b653b145e7

Can now move on from the title screen with left mouse button

Changed files

M src/saland.cpp before
diff --git a/src/saland.cpp b/src/saland.cpp index c6f4b75..ff9f9ce 100644 --- a/src/saland.cpp +++ b/src/saland.cpp
@@ -124,6 +124,12 @@ public:
processed = true;
}
}
+ if (event.type == SDL_MOUSEBUTTONDOWN) {
+ if (event.button.button == SDL_BUTTON_LEFT) {
+ isActive = false;
+ processed = true;
+ }
+ }
}
virtual void Update() override {