aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c9
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;
}
}