diff options
| author | nathan <nathansmith@disroot.org> | 2025-10-25 08:57:41 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-10-25 08:57:41 +0000 |
| commit | da39d95d89cf626b8b773380bb0d109c5bc41f18 (patch) | |
| tree | 7bea5db94fb88913d77397ec5bfb51e4e01db0a8 /src/entity.c | |
| parent | e7ef990a0a3b1ddf40a2f0d517e8eb4e261b1f80 (diff) | |
| download | FindThings-da39d95d89cf626b8b773380bb0d109c5bc41f18.tar.gz FindThings-da39d95d89cf626b8b773380bb0d109c5bc41f18.tar.bz2 FindThings-da39d95d89cf626b8b773380bb0d109c5bc41f18.zip | |
Changed things
Diffstat (limited to 'src/entity.c')
| -rw-r--r-- | src/entity.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/entity.c b/src/entity.c index 93d713a..3f988ad 100644 --- a/src/entity.c +++ b/src/entity.c @@ -161,7 +161,7 @@ void updateEntity(Entity* entity, Game* game) break; case POND: DrawPlane( - Vector3Add(entity->position, (Vector3){0.0, POND_HEIGHT * 2.0, 0.0}), + Vector3Add(entity->position, (Vector3){0.0, POND_HEIGHT, 0.0}), (Vector2){POND_SIZE * 2.5, POND_SIZE * 2.5}, BLUE); break; case SAMANTHA: @@ -215,15 +215,14 @@ void placeEntityOnGround(Entity* entity, const World* world) setEntityPosition(entity, position); } -bool entityIsPlace(EntityId id) +bool entityCanBeSelected(EntityId id) { switch (id) { - case POND: case SAMANTHAS_SPOT: - return true; - default: return false; + default: + return true; } } |
