Small cleanup, spacing, comments.
This commit is contained in:
@@ -36,6 +36,7 @@ game_update :: proc(game: ^Game) {
|
||||
input := poll_input()
|
||||
|
||||
// Pass direct pointers (^Scene) so modifications persist
|
||||
// only update the overlay, if it currently exists
|
||||
if overlay, ok := &game.overlay_scene.?; ok {
|
||||
scene_update(overlay, game, input, dt)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user