diff options
author | quou <quou@disroot.org> | 2025-03-27 21:46:31 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-03-27 21:46:31 +1100 |
commit | df03ffea8d23b319c29c0c937e70d5afb15e76e2 (patch) | |
tree | 4ffcc23c26104854f69b21f2925b4f212cb7d12b | |
parent | 303b28ca6138375fc6e095323eee35b9f6e3d5c0 (diff) |
-rw-r--r-- | world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ void* Slinky::get(Entity_Id eid, int mapping, int size) { } void Slinky::remove(Entity_Id eid, int mapping, int size) { - int end = (count - 1) * size; + int end = (--count) * size; assert(eid == entities[mapping]); (void)eid; memmove( |