fix bugs
This commit is contained in:
parent
185c387749
commit
bdeba32f9d
@ -546,7 +546,7 @@ void ConfigMgr::Save(QString & file_path) {
|
|||||||
|
|
||||||
} else if (card_type_[i] == kCardKeyphaseSingle) {
|
} else if (card_type_[i] == kCardKeyphaseSingle) {
|
||||||
std::shared_ptr<CardBase> base_ptr = ConfigMgr::Instance()->GetSlotPtr(slot);
|
std::shared_ptr<CardBase> base_ptr = ConfigMgr::Instance()->GetSlotPtr(slot);
|
||||||
if (base_ptr == nullptr) {
|
if (base_ptr == nullptr || cid > 3) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
std::shared_ptr<KeyphaseData> ptr = std::dynamic_pointer_cast<KeyphaseData>(base_ptr);
|
std::shared_ptr<KeyphaseData> ptr = std::dynamic_pointer_cast<KeyphaseData>(base_ptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user