mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 17:49:21 +02:00
Fix issue #124
This commit is contained in:
parent
a6424f3022
commit
c7890e7a49
@ -28,11 +28,6 @@
|
|||||||
|
|
||||||
void ProtocolGame::login(const std::string& accountName, const std::string& accountPassword, const std::string& host, uint16 port, const std::string& characterName)
|
void ProtocolGame::login(const std::string& accountName, const std::string& accountPassword, const std::string& host, uint16 port, const std::string& characterName)
|
||||||
{
|
{
|
||||||
if(accountName.empty() || accountPassword.empty()) {
|
|
||||||
callLuaField("onError", "You must enter an account name and password.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_accountName = accountName;
|
m_accountName = accountName;
|
||||||
m_accountPassword = accountPassword;
|
m_accountPassword = accountPassword;
|
||||||
m_characterName = characterName;
|
m_characterName = characterName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user