summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/game.c b/game.c
index cc96428..a44b0cf 100644
--- a/game.c
+++ b/game.c
@@ -35,8 +35,8 @@ entinit()
{
player = allocentity();
player->type = EPLAYER;
- player->body.pos[0] = player_x;
- player->body.pos[1] = player_x;
+ player->body.pos[0] = player_x * ENTITY_SIZE * 2;
+ player->body.pos[1] = player_y * ENTITY_SIZE * 2;
player->body.size[0] = ENTITY_SIZE;
player->body.size[1] = ENTITY_SIZE;
player->life = 1;