diff options
author | Wushin <pasekei@gmail.com> | 2015-05-19 21:50:41 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-05-19 21:50:41 -0500 |
commit | 29ce27e1557404b6cd03eaab2367c5a698e6ab44 (patch) | |
tree | 28da27416f52edaa41c049a60ebcc4869ddde1f2 /src/login/login.cpp | |
parent | 20cbf97dbaded8c2bead5b4f1a4838528c63a2a5 (diff) | |
parent | 4166a53fa3ced75afa25bd5bfb20ca87eca0e25f (diff) | |
download | tmwa-15.5.19.tar.gz tmwa-15.5.19.tar.bz2 tmwa-15.5.19.tar.xz tmwa-15.5.19.zip |
Merge pull request #89 from mekolat/sitv15.5.19
allow to make npcs sit
Diffstat (limited to 'src/login/login.cpp')
-rw-r--r-- | src/login/login.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/login/login.cpp b/src/login/login.cpp index 886c510..9310ad3 100644 --- a/src/login/login.cpp +++ b/src/login/login.cpp @@ -2494,9 +2494,7 @@ void parse_login(Session *s) result = mmo_auth(&account, s); if (result == -1) { - VERSION_2 version_2 = fixed.version_2_flags; - if (!bool(version_2 & VERSION_2::UPDATEHOST) - || !bool(version_2 & VERSION_2::SERVERORDER)) + if (fixed.version < MIN_CLIENT_VERSION) result = 5; // client too old } if (result == -1) |