aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/johnsStore.c3
-rw-r--r--src/entities/samanthasSpot.c8
2 files changed, 6 insertions, 5 deletions
diff --git a/src/entities/johnsStore.c b/src/entities/johnsStore.c
index e3f4908..41217ed 100644
--- a/src/entities/johnsStore.c
+++ b/src/entities/johnsStore.c
@@ -27,8 +27,7 @@ void updateJohnsStore(Entity* entity, Game* game)
building->model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture =
game->assets.textures[JOHNS_SHOP_TEXTURE];
DrawModel(building->model, entity->position, 1.0, WHITE);
-
- DrawBoundingBox(entity->box, RED);
+ drawBuildingRoof(building, entity->position, BROWN);
}
void closeJohnsStore(Entity* entity)
diff --git a/src/entities/samanthasSpot.c b/src/entities/samanthasSpot.c
index 0205e46..2022f37 100644
--- a/src/entities/samanthasSpot.c
+++ b/src/entities/samanthasSpot.c
@@ -13,7 +13,9 @@ void initSamanthasSpot(Entity* entity)
void updateSamanthasSpot(Entity* entity, Game* game)
{
DrawModel(game->world.samanthasSpotFloor,
- Vector3Add(entity->position,
- (Vector3){0.0, -SAMANTHAS_SPOT_HEIGHT + 0.01, 0.0}),
- 1.0, WHITE);
+ Vector3Add(
+ entity->position,
+ (Vector3){0.0, -SAMANTHAS_SPOT_HEIGHT + TOUCHING_OFFSET, 0.0}),
+ 1.0,
+ WHITE);
}