Skip to content

Commit c3e9b30

Browse files
committed
Another build fix attempt
1 parent de317ee commit c3e9b30

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mod_zone_difficulty_handler.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,9 @@ void ZoneDifficulty::ProcessCreatureDeath(Map* map, uint32 entry)
11371137
if (npcId != entry)
11381138
continue;
11391139

1140-
auto [setting, zoneName] = data;
1140+
uint32 setting;
1141+
const char* zoneName;
1142+
std::tie(setting, zoneName) = data;
11411143

11421144
map->DoForAllPlayers([setting, zoneName](Player* player)
11431145
{

0 commit comments

Comments
 (0)