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/game.cc')
-rw-r--r--src/game/base/game.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index c6b45ad..a3d9899 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -315,7 +315,7 @@ void Game::func_give(core::Player *player, const std::string &args)
item = new core::Item(cargo);
player->control()->inventory()->add(item);
} else {
- assert(player->control()->info() == cargo);
+ assert(item->info() == cargo);
}
item->inc_amount(amount);
player->control()->inventory()->set_dirty();