Several small bugfixes
- Wrong image in generic lever dialog - Crash in adventure notes dialog - Incorrect spell costs shown on second page of spellcasting dialog - Enable messages in "if context" node, but only for legacy scenarios - Fix recorded dialogue not working - Fix special items leaking between scenarios - Fix training dialog - Fix scenario editor sometimes crashing on scenarios that it wrote itself
This commit is contained in:
@@ -875,7 +875,7 @@ void readScenarioFromXml(ticpp::Document&& data, cScenario& scenario) {
|
||||
if(num_storage >= 10)
|
||||
throw xBadNode(type, edit->Row(), edit->Column(), fname);
|
||||
int num_items = 0;
|
||||
std::set<std::string> reqs = {"on-terrain", "is-property", "item"};
|
||||
std::set<std::string> reqs = {"on-terrain", "is-property"};
|
||||
Iterator<Element> store;
|
||||
for(store = store.begin(edit.Get()); store != store.end(); store++) {
|
||||
store->GetValue(&type);
|
||||
|
Reference in New Issue
Block a user