diff --git a/src/render_objects.c b/src/render_objects.c index 50efede71..e2de16cbe 100644 --- a/src/render_objects.c +++ b/src/render_objects.c @@ -2732,9 +2732,9 @@ void func_8004EF9C(s32 arg0) { s16 temp_t0; s16 temp_v0; - temp_v0 = CM_GetProps()->Minimap.Width; - temp_t0 = CM_GetProps()->Minimap.Height; - func_8004D37C(0x00000104, 0x0000003C, CM_GetProps()->Minimap.Texture, 0x000000FF, 0x000000FF, 0x000000FF, + temp_v0 = CM_GetPropsCourseId(arg0)->Minimap.Width; + temp_t0 = CM_GetPropsCourseId(arg0)->Minimap.Height; + func_8004D37C(0x00000104, 0x0000003C, CM_GetPropsCourseId(arg0)->Minimap.Texture, 0x000000FF, 0x000000FF, 0x000000FF, 0x000000FF, temp_v0, temp_t0, temp_v0, temp_t0); }