diff options
author | zlago | 2024-10-06 19:54:24 +0200 |
---|---|---|
committer | zlago | 2024-10-06 21:23:44 +0200 |
commit | d005a7756f6d15f67a7033a53bae23d00a58af69 (patch) | |
tree | db6abbabdbfd1ca7d3c32756042623052c43a0ce /src/warp.c | |
parent | a887634f473b9e665c54f223e24080a1492c58fe (diff) |
particles and projectiles
Diffstat (limited to 'src/warp.c')
-rw-r--r-- | src/warp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/warp.c b/src/warp.c index f36b716..3556ef3 100644 --- a/src/warp.c +++ b/src/warp.c @@ -15,8 +15,8 @@ static int warp_update(struct warp *self) { } game_next_level = self->ext; memcpy(next_entities.player, entities.player, sizeof (entities.player)); - next_entities.player[0].x = self->tox * 16; - next_entities.player[0].y = self->toy * 16; + next_entities.player[0].x = to_fixed(self->tox); + next_entities.player[0].y = to_fixed(self->toy); game_state = STATE_FADE_IN; self->ext = NULL; return 0; |