Refactor struct part 2.
This commit is contained in:
@ -20,7 +20,7 @@ void engineUpdateStart(engine_t *engine, game_t *game, float delta) {
|
||||
}
|
||||
|
||||
bool engineUpdateEnd(engine_t *engine, game_t *game) {
|
||||
if(inputIsPressed(INPUT_NULL)) return false;
|
||||
if(inputIsPressed(&engine->input, INPUT_NULL)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user