aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/tree.c')
-rw-r--r--src/entities/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/tree.c b/src/entities/tree.c
index 7db5842..9f89b8f 100644
--- a/src/entities/tree.c
+++ b/src/entities/tree.c
@@ -2,11 +2,11 @@
void initTree(Entity* entity)
{
- entity->box = entityBoxFromScale(1.0, TREE_WIDTH, TREE_HEIGHT);
+ entity->box = entityBoxFromScale(TREE_SCALE, TREE_WIDTH, TREE_HEIGHT);
}
void updateTree(Entity* entity, Game* game)
{
DrawBillboard(game->player.camera, game->assets.textures[TREE_TEXTURE],
- entity->position, 1.0, WHITE);
+ entity->position, TREE_SCALE, WHITE);
}