From 1b519dc9645f61dfe4e39e43d5be294fa90a9831 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:55:06 +0100 Subject: [PATCH] + --- src/input/controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/controller.h b/src/input/controller.h index c459778e8..b0e3fdaed 100644 --- a/src/input/controller.h +++ b/src/input/controller.h @@ -186,7 +186,7 @@ public: new GameController()}) {}; virtual ~GameControllers() = default; GameController* operator[](const size_t& i) const { - if (i > 3) { + if (i > 4) { UNREACHABLE_MSG("Index {} is out of bounds for GameControllers!", i); } return controllers[i];