summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/charserverhandler.cpp10
-rw-r--r--src/net/ea/gamehandler.cpp5
-rw-r--r--src/net/eathena/charserverhandler.cpp20
-rw-r--r--src/net/tmwa/charserverhandler.cpp5
4 files changed, 32 insertions, 8 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 0d7117a21..e7e99af8b 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -142,7 +142,10 @@ void CharServerHandler::processCharCreateFailed(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
if (mCharCreateDialog)
mCharCreateDialog->unlock();
BLOCK_END("CharServerHandler::processCharCreateFailed")
@@ -161,7 +164,10 @@ void CharServerHandler::processCharDelete(Net::MessageIn &msg A_UNUSED)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
BLOCK_END("CharServerHandler::processCharDelete")
}
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 609132959..000d9e8ad 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -82,7 +82,10 @@ void GameHandler::processMapQuitResponse(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
}
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index f1893e4b5..8ff7d4b1a 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -578,7 +578,10 @@ void CharServerHandler::processCharCheckRename(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("Error"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
}
@@ -593,7 +596,10 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
else
{
@@ -623,7 +629,10 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
}
}
@@ -653,7 +662,10 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
BLOCK_END("CharServerHandler::processCharDeleteFailed")
}
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp
index 37dc4828e..6a647fcac 100644
--- a/src/net/tmwa/charserverhandler.cpp
+++ b/src/net/tmwa/charserverhandler.cpp
@@ -522,7 +522,10 @@ void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
BLOCK_END("CharServerHandler::processCharDeleteFailed")
}