summaryrefslogtreecommitdiff
path: root/src/warp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/warp.c')
-rw-r--r--src/warp.c4
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;