common, input_common, network: fix warnings
This commit is contained in:
parent
946a32d793
commit
7e134421d5
3 changed files with 8 additions and 8 deletions
|
@ -1018,7 +1018,7 @@ public:
|
|||
}
|
||||
|
||||
Common::ParamPackage GetNextInput() override {
|
||||
SDL_Event event;
|
||||
SDL_Event event{};
|
||||
while (state.event_queue.Pop(event)) {
|
||||
if (event.type != SDL_JOYAXISMOTION || std::abs(event.jaxis.value / 32767.0) < 0.5) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue