diff --git a/GameControllerHandler.h b/GameControllerHandler.h index c34b8c7..f6fc0bb 100644 --- a/GameControllerHandler.h +++ b/GameControllerHandler.h @@ -42,7 +42,7 @@ public: if (tokens[2] == "stop proximity") { std::vector args = Utils::split(tokens[3], ","); int distance = stoi(args[0]); - Uint16 strength = 0; + Uint16 strength; if (distance <= 200) { strength = 0xFFFF;