increment ver string and fix off by one out of bounds char selection
This commit is contained in:
parent
428053934a
commit
b12cec09da
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user