diff options
| author | nathan <nathansmith@disroot.org> | 2025-10-26 00:10:58 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-10-26 00:10:58 +0000 |
| commit | 5925230971875ba3e6e591f0655cf84b739b50fc (patch) | |
| tree | a08383647602ec9afc4cce49da4f25242e9e236b /src/entities/flower.c | |
| parent | 361c596fa09e9bac1d256ee21da63e352d796fa3 (diff) | |
| download | FindThings-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.c | 4 |
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); } |
