This commit is contained in:
aozhiwei 2020-07-16 15:18:43 +08:00
parent 8d86e2736d
commit 0cdec57b59

View File

@ -598,7 +598,11 @@ private:
item.Init();
ai_hash[meta.ai_level()] = &item;
}
for (int i = 1; i <= MAX_AI_LEVEL; ++i) {
if (ai_hash.find(i) == ai_hash.end()) {
abort();
}
}
}
private: