diff options
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.c b/src/player.c index e157830..460e80a 100644 --- a/src/player.c +++ b/src/player.c @@ -11,8 +11,8 @@ IMPL(update) { this->vel[0] = 2 * TZR_IsKeyDown(SDL_SCANCODE_RIGHT) - 2 * TZR_IsKeyDown(SDL_SCANCODE_LEFT); entity_move(this, g); - entity_init(game_create_entity(g), entity_type("part"), this->pos[0], - this->pos[1], 0, 0); + entity_init(game_create_entity(g), entity_type("part"), NULL, + this->pos[0], this->pos[1], 0, 0); } IMPL_INIT(player, 0) { |