Fix Windows build

This commit also disables warnings for comparison of differently signed integers
This commit is contained in:
2015-02-12 18:21:58 -05:00
parent b3b72f648c
commit d45ba59cce
16 changed files with 59 additions and 34 deletions

View File

@@ -230,7 +230,7 @@ static void writeScenarioToXml(ticpp::Printer&& data) {
int quantity = entry.quantity, chance = 100;
switch(entry.type) {
case eShopItemType::EMPTY: break;
case eShopItemType::OPTIONAL:
case eShopItemType::OPT_ITEM:
quantity %= 1000;
chance = entry.quantity / 1000;
case eShopItemType::ITEM: