summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index 4cd9728..fb7994a 100644
--- a/src/game.c
+++ b/src/game.c
@@ -58,7 +58,8 @@ game_restart_scene(Game *this)
continue;
const __auto_type x = object->x + object->width / 2;
const __auto_type y = object->y + object->height / 2;
- entity_init(game_create_entity(this), type, x, y);
+ entity_init(game_create_entity(this), type, x, y,
+ object->width, object->height);
}
}