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>2011-12-31 12:26:51 +0000
committerStijn Buys <ingar@osirion.org>2011-12-31 12:26:51 +0000
commit97caf0f6995dad9f723526690900f991c87c04b2 (patch)
tree66b832b04692955792511486aa986d3d19196b86 /src/game/base/game.cc
parente9cc1520bfbc28c1c62a14d1f0e625ca8549d9d4 (diff)
Recalculate inventory capacity after loading player data.
Diffstat (limited to 'src/game/base/game.cc')
-rw-r--r--src/game/base/game.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 7e3a9c5..2d8ddf5 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -1910,6 +1910,7 @@ void Game::player_load(core::Player *player)
inifile.close();
if (ship) {
+ ship->inventory()->recalculate();
ship->inventory()->set_dirty();
if (!zone) {