removed some old invalid comments

This commit is contained in:
Noel Berry 2020-08-27 20:21:33 -07:00
parent 53c65f0ba3
commit 79dd471e10
2 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ const ControllerState* Input::controller(int controllerIndex)
{ {
if (controllerIndex >= Blah::Input::max_controllers) if (controllerIndex >= Blah::Input::max_controllers)
{ {
Log::warn("Trying to access a controller at %i, outside of EX_MAX_CONTROLLERS", controllerIndex); Log::warn("Trying to access a out-of-range controller at %i", controllerIndex);
return &g_empty_controller; return &g_empty_controller;
} }
else if (!g_curr_state.controllers[controllerIndex].is_connected) else if (!g_curr_state.controllers[controllerIndex].is_connected)

View File

@ -274,10 +274,10 @@ namespace Blah
// Whether this gamepad is a standard Game Controller // Whether this gamepad is a standard Game Controller
bool is_gamepad; bool is_gamepad;
// The total button count for this controller, with a maximum of EX_MAX_CONTROLLER_BUTTONS // The total button count for this controller
int button_count; int button_count;
// The total axis count for this controller, with a maximum of EX_MAX_CONTROLLER_AXIS // The total axis count for this controller
int axis_count; int axis_count;
// An array holding the pressed state of each button // An array holding the pressed state of each button