diff --git a/src/aoclient.cpp b/src/aoclient.cpp index b9207bc..c06da28 100644 --- a/src/aoclient.cpp +++ b/src/aoclient.cpp @@ -142,7 +142,7 @@ void AOClient::changeCharacter(int char_id) area->characters_taken.removeAll(server->getCharID(current_char)); } - if(char_id > server->characters.length()) + if(char_id >= server->characters.length()) return; if (char_id >= 0) { diff --git a/src/main.cpp b/src/main.cpp index d754691..defcf23 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,7 +36,7 @@ int main(int argc, char* argv[]) { QCoreApplication app(argc, argv); QCoreApplication::setApplicationName("akashi"); - QCoreApplication::setApplicationVersion("apricot r2"); + QCoreApplication::setApplicationVersion("apricot r3 prerelease"); std::atexit(cleanup); ConfigManager config_manager;