1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Make WindowView into strong enum

This commit is contained in:
Gymnasiast
2025-09-17 23:49:17 +02:00
parent ea5fc03dd0
commit 472e048f69
19 changed files with 66 additions and 65 deletions

View File

@@ -2341,7 +2341,7 @@ namespace OpenRCT2::Network
connection.Disconnect();
break;
case Auth::requirePassword:
ContextOpenWindowView(WV_NETWORK_PASSWORD);
ContextOpenWindowView(WindowView::networkPassword);
break;
case Auth::unknownKeyDisallowed:
connection.SetLastDisconnectReason(STR_MULTIPLAYER_UNKNOWN_KEY_DISALLOWED);