Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base')
-rw-r--r--src/game/base/game.cc2
-rw-r--r--src/game/base/savegame.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 3fbcbb0..93145f7 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -1532,7 +1532,7 @@ bool Game::validate_zone(core::Zone *zone)
JumpGate *jumpgate = static_cast<JumpGate *>(entity);
jumpgate->validate();
} else {
- if (entity->flag_is_set(core::Entity::Dockable)) {
+ if (entity->has_flag(core::Entity::Dockable)) {
generate_entity_menus(entity);
}
}
diff --git a/src/game/base/savegame.cc b/src/game/base/savegame.cc
index b6955e2..702dd49 100644
--- a/src/game/base/savegame.cc
+++ b/src/game/base/savegame.cc
@@ -128,7 +128,7 @@ void SaveGame::load_game(core::Player *player, filesystem::IniFile & inifile)
continue;
}
- if (!spawn_entity->flag_is_set(core::Entity::Dockable)) {
+ if (!spawn_entity->has_flag(core::Entity::Dockable)) {
inifile.unknown_error("spawn '" + str + "' is not dockable");
continue;
}