aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/flower.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-10-26 00:10:58 +0000
committernathan <nathansmith@disroot.org>2025-10-26 00:10:58 +0000
commit5925230971875ba3e6e591f0655cf84b739b50fc (patch)
treea08383647602ec9afc4cce49da4f25242e9e236b /src/entities/flower.c
parent361c596fa09e9bac1d256ee21da63e352d796fa3 (diff)
downloadFindThings-5925230971875ba3e6e591f0655cf84b739b50fc.tar.gz
FindThings-5925230971875ba3e6e591f0655cf84b739b50fc.tar.bz2
FindThings-5925230971875ba3e6e591f0655cf84b739b50fc.zip
New entity system is working (:
Diffstat (limited to 'src/entities/flower.c')
-rw-r--r--src/entities/flower.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/flower.c b/src/entities/flower.c
index 00f27fc..89378bb 100644
--- a/src/entities/flower.c
+++ b/src/entities/flower.c
@@ -2,11 +2,11 @@
void initFlower(Entity* entity)
{
- entity->box = entityBoxFromScale(1.0, FLOWER_WIDTH, FLOWER_HEIGHT);
+ entity->box = entityBoxFromScale(FLOWER_SCALE, FLOWER_WIDTH, FLOWER_HEIGHT);
}
void updateFlower(Entity* entity, Game* game)
{
DrawBillboard(game->player.camera, game->assets.textures[FLOWER_TEXTURE],
- entity->position, 1.0, WHITE);
+ entity->position, FLOWER_SCALE, WHITE);
}