diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-04 15:14:42 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-04 15:14:42 +0000 |
commit | 81acfb7cd3ced1e613acaf45b44867e56b137dc9 (patch) | |
tree | e49aad9f368cfd7e6f7f13e80c9774b13f1f6238 /src/game/base/cargo.cc | |
parent | 5141df01c1a12cd325fc0100b5ad1547d5ee0c8b (diff) |
corrected a crashbug, added cargo listing for give cargo
Diffstat (limited to 'src/game/base/cargo.cc')
-rw-r--r-- | src/game/base/cargo.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/base/cargo.cc b/src/game/base/cargo.cc index 626a1b3..668c3a4 100644 --- a/src/game/base/cargo.cc +++ b/src/game/base/cargo.cc @@ -294,5 +294,10 @@ void Cargo::buy(core::EntityControlable *buyer, core::Entity *seller, const int buyer->owner()->sound("game/buy"); } +void Cargo::list() +{ + core::Info::list(cargo_infotype); +} + } // namespace game |