Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-05 21:02:52 +0000
committerStijn Buys <ingar@osirion.org>2013-11-05 21:02:52 +0000
commitd77635aebe26fb79936a7d75dd0bb1b60c5855a2 (patch)
tree5ff8ab68d9d8b4ba287daecca5d3359229dae3e1 /src/game
parent85c5f8e91fc69c55c138b00fdc505005b2b3e932 (diff)
Minor cleanup.
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/savegame.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/base/savegame.cc b/src/game/base/savegame.cc
index 789bdb1..9b9e6f6 100644
--- a/src/game/base/savegame.cc
+++ b/src/game/base/savegame.cc
@@ -260,8 +260,9 @@ void SaveGame::load_game(core::Player *player, filesystem::IniFile & inifile)
} else {
ship->set_location(location);
ship->set_axis(axis);
- ship->set_state(core::Entity::Normal);
ship->set_zone(zone);
+
+ ship->set_state(core::Entity::Normal);
ship->reset();
player->set_control(ship);