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/bush.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/bush.c')
| -rw-r--r-- | src/entities/bush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/bush.c b/src/entities/bush.c index 884ffef..2fc5f6a 100644 --- a/src/entities/bush.c +++ b/src/entities/bush.c @@ -2,11 +2,11 @@ void initBush(Entity* entity) { - entity->box = entityBoxFromScale(1.0, BUSH_WIDTH, BUSH_HEIGHT); + entity->box = entityBoxFromScale(BUSH_SCALE, BUSH_WIDTH, BUSH_HEIGHT); } void updateBush(Entity* entity, Game* game) { DrawBillboard(game->player.camera, game->assets.textures[BUSH_TEXTURE], - entity->position, 1.0, WHITE); + entity->position, BUSH_SCALE, WHITE); } |
