diff options
author | Stijn Buys <ingar@osirion.org> | 2011-12-31 12:26:51 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-12-31 12:26:51 +0000 |
commit | 97caf0f6995dad9f723526690900f991c87c04b2 (patch) | |
tree | 66b832b04692955792511486aa986d3d19196b86 | |
parent | e9cc1520bfbc28c1c62a14d1f0e625ca8549d9d4 (diff) |
Recalculate inventory capacity after loading player data.
-rw-r--r-- | src/game/base/game.cc | 1 |
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) { |