From df1589141df27f3b29eba2d44df1aa5b2abe3420 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 7 Aug 2011 12:15:25 +0000 Subject: Point an ejected cargopod's info to the cargo info. --- src/game/base/cargo.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/base/cargo.cc b/src/game/base/cargo.cc index c07aada..fd1ee3f 100644 --- a/src/game/base/cargo.cc +++ b/src/game/base/cargo.cc @@ -372,6 +372,7 @@ void Cargo::eject(core::EntityControlable *ejector, const int amount) pod->set_location(ejector->location() + ejector->axis().up() * (ejector->radius() + pod->radius())); pod->set_axis(ejector->axis()); pod->set_zone(ejector->zone()); + pod->set_info(item->info()); // add loot to inventory pod->set_inventory(new core::Inventory()); -- cgit v1.2.3