diff options
Diffstat (limited to 'src/throwables.c')
| -rw-r--r-- | src/throwables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/throwables.c b/src/throwables.c index 867a762..9e88d7e 100644 --- a/src/throwables.c +++ b/src/throwables.c @@ -71,7 +71,7 @@ bool check_if_throwable_collided_with_object(throwable* b, vec3f oldpos, vec3f n bool result = false; for (int i = 0; i < MAX_OBJECTS; i++) { - object o = loaded_map.objects[i]; + object o = loaded_map->objects[i]; if (!o.active) continue; if (b->position.z <= o.position.z + o.size.z && b->position.z >= o.position.z) { box obj_box = get_box_of_square((vec3f){o.position.x, o.position.y, o.position.z}, o.size); |
