Fixed typo in InGameMessage

This commit is contained in:
Dimitris Panokostas 2018-01-05 15:41:32 +01:00
parent 32b637a3ac
commit 281b68a4d7

View file

@ -131,9 +131,7 @@ void checkInput()
#else
msg_input->pushInput(msg_event);
#endif
}
}
while (SDL_PollEvent(&msg_event));
} while (SDL_PollEvent(&msg_event));
// Now we let the Gui object perform its logic.
msg_gui->logic();
@ -153,6 +151,7 @@ void checkInput()
SDL_RenderCopy(renderer, texture, nullptr, nullptr);
SDL_RenderPresent(renderer);
#endif
}
}
void gui_init(const char* msg)