aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/johnsStore.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-12-29 12:42:08 +0000
committernathan <nathansmith@disroot.org>2025-12-29 12:42:08 +0000
commit91b1c45da05c892a04b6a1daa99b1de89fa1f363 (patch)
tree5eeb0e8f7c5a4f0382b69780a4a14f69f971d9a2 /src/entities/johnsStore.c
parent8f2d85aa019f089b6946f3b9e0355ce59b12b67a (diff)
downloadFindThings-91b1c45da05c892a04b6a1daa99b1de89fa1f363.tar.gz
FindThings-91b1c45da05c892a04b6a1daa99b1de89fa1f363.tar.bz2
FindThings-91b1c45da05c892a04b6a1daa99b1de89fa1f363.zip
working on building roofs
Diffstat (limited to 'src/entities/johnsStore.c')
-rw-r--r--src/entities/johnsStore.c3
1 files changed, 1 insertions, 2 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)