Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 7, 2024
1 parent 9044c53 commit 2142b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiantcore/map/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ void Map::emitMapEvent(MapEvent ev)
}
catch (std::runtime_error & ex)
{
radiant::NotificationMessage::SendError(fmt::format(_("Failure running map event {0}:\n{1}"), ev, ex.what()));
radiant::NotificationMessage::SendError(fmt::format(_("Failure running map event {0}:\n{1}"), static_cast<int>(ev), ex.what()));
}
}

Expand Down

0 comments on commit 2142b2c

Please sign in to comment.