fix load condition for non-BB clients
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ shared_ptr<PSOBBCharacterFile> ClientGameData::character(bool allow_load, bool a
|
|||||||
return this->overlay_character_data;
|
return this->overlay_character_data;
|
||||||
}
|
}
|
||||||
if (!this->character_data && allow_load) {
|
if (!this->character_data && allow_load) {
|
||||||
if (this->bb_character_index < 0) {
|
if (!this->bb_username.empty() && (this->bb_character_index < 0)) {
|
||||||
throw runtime_error("character index not specified");
|
throw runtime_error("character index not specified");
|
||||||
}
|
}
|
||||||
this->load_all_files();
|
this->load_all_files();
|
||||||
|
|||||||
Reference in New Issue
Block a user