aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-24 09:49:11 +0000
committernathan <nathansmith@disroot.org>2025-11-24 09:49:11 +0000
commite3d80fbb561d43e53d8fd7bac49f46dbadfd291e (patch)
tree920c21c727da1c9488cc2f023e7317c5a93b5fc8 /src/world.c
parentfc72bf3d757340382ad8e422eb31e701577544f8 (diff)
downloadFindThings-e3d80fbb561d43e53d8fd7bac49f46dbadfd291e.tar.gz
FindThings-e3d80fbb561d43e53d8fd7bac49f46dbadfd291e.tar.bz2
FindThings-e3d80fbb561d43e53d8fd7bac49f46dbadfd291e.zip
Working on things and broke something
This reverts commit fc72bf3d757340382ad8e422eb31e701577544f8.
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index 6f2e093..a6fdf24 100644
--- a/src/world.c
+++ b/src/world.c
@@ -516,6 +516,7 @@ void generateWorldSamanthasPlace(World* world, const Assets* assets,
Entity samantha = createEntity(SAMANTHA, Vector3Add(center,
SAMANTHA_OFFSET));
world->entities[*placeId] = samantha;
+ *placeId = *placeId + 1;
// Trashcans yippee!
Vector3 trashPosition = (Vector3){-SAMANTHAS_SPOT,