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, 8 insertions, 1 deletions
diff --git a/src/entity.c b/src/entity.c
index 3c17f5e..5515932 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -153,6 +153,12 @@ void updateEntity(Entity* entity, Game* game)
case SAMANTHA:
updateSamantha(entity, game);
break;
+ case SAMANTHAS_SPOT:
+ DrawModel(game->world.samanthasSpotFloor,
+ Vector3Add(entity->position,
+ (Vector3){0.0, -SAMANTHAS_SPOT_HEIGHT + 0.01, 0.0}),
+ 1.0, WHITE);
+ break;
case TRASHCAN:
updateTrashcan(entity, game);
break;
@@ -161,7 +167,8 @@ void updateEntity(Entity* entity, Game* game)
entity->position, TRASH_SCALE, WHITE);
break;
case MEDICAL_TRASH:
- DrawBillboard(game->player.camera, game->assets.textures[MEDICAL_TRASH],
+ DrawBillboard(game->player.camera,
+ game->assets.textures[MEDICAL_TRASH_TEXTURE],
entity->position, MEDICAL_TRASH_SCALE, WHITE);
break;
default: