Fix most of the warnings in the Visual Studio build
- Fix energy-draining weapons - Specials called when a spell is targeted on a space now work a little differently if the spell is multi-target. For each target, the special is triggered if it exists; otherwise the normal spell behaviour occurs.
This commit is contained in:
@@ -467,7 +467,7 @@ static void readShopFromXml(ticpp::Element& data, cShop& shop, cScenario& scen)
|
||||
shop.setPrompt(boost::lexical_cast<eShopPrompt>(val));
|
||||
} else if(type == "face") {
|
||||
pic_num_t face;
|
||||
elem->GetText(face);
|
||||
elem->GetText(&face);
|
||||
shop.setFace(face);
|
||||
} else if(type == "entries") {
|
||||
int entries_found = 0;
|
||||
|
Reference in New Issue
Block a user