Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-10-08 20:19:50 +0000
committerStijn Buys <ingar@osirion.org>2012-10-08 20:19:50 +0000
commit90be07acb8d2a2c481761ef754d938559510ae0f (patch)
tree66fb813990e367b92daacd19c580da091c608d61 /src/game/base
parentb5d824f36191e7ddc1c04afa0778347e1b02073e (diff)
Renamed Item::flag_is_set() to Item::has_flag().
Diffstat (limited to 'src/game/base')
-rw-r--r--src/game/base/savegame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/savegame.cc b/src/game/base/savegame.cc
index 702dd49..0057a50 100644
--- a/src/game/base/savegame.cc
+++ b/src/game/base/savegame.cc
@@ -291,7 +291,7 @@ void SaveGame::inventory_to_stream(core::Inventory *inventory, std::ostream & os
os << "label=" << item->info()->label() << std::endl;
os << "amount=" << item->amount() << std::endl;
os << "price=" << item->price() << std::endl;
- os << "tradeable=" << (item->flag_is_set(core::Item::Tradeable) ? "yes" : "no") << std::endl;
+ os << "tradeable=" << (item->has_flag(core::Item::Tradeable) ? "yes" : "no") << std::endl;
}
}