diff --git a/src/game/bg.c b/src/game/bg.c index 3eaf35fc9..c6dddc699 100644 --- a/src/game/bg.c +++ b/src/game/bg.c @@ -6407,12 +6407,16 @@ void bgFindEnteredRooms(struct coord *bbmin, struct coord *bbmax, RoomNum *rooms void bgCalculateGlaresForVisibleRooms(void) { s32 i; + g_NumRoomsWithGlares = 0; - for (i = 1; i < g_Vars.roomcount; i++) { - if (g_Rooms[i].flags & ROOMFLAG_ONSCREEN) { - artifactsCalculateGlaresForRoom(i); - if (g_NumRoomsWithGlares < 100) { - g_GlareRooms[g_NumRoomsWithGlares++] = i; + + if (!g_Vars.mplayerisrunning) { + for (i = 1; i < g_Vars.roomcount; i++) { + if (g_Rooms[i].flags & ROOMFLAG_ONSCREEN) { + artifactsCalculateGlaresForRoom(i); + if (g_NumRoomsWithGlares < 100) { + g_GlareRooms[g_NumRoomsWithGlares++] = i; + } } } }