summaryrefslogtreecommitdiff
path: root/src/cargopacket.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-19 18:02:17 +0000
committerrubidium <rubidium@openttd.org>2011-02-19 18:02:17 +0000
commit68bc93f95074702fde2876904198f585969201cc (patch)
treed4e944285ebe4ed2ea5bc068c1b854fbb5f95a4e /src/cargopacket.h
parentf575b45bae4b84ad734541cdd59b794352f6c0c7 (diff)
downloadopenttd-68bc93f95074702fde2876904198f585969201cc.tar.xz
(svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r--src/cargopacket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h
index 72465d90d..063896476 100644
--- a/src/cargopacket.h
+++ b/src/cargopacket.h
@@ -197,6 +197,8 @@ public:
~CargoList();
+ void OnCleanPool();
+
/**
* Returns a pointer to the cargo packet list (so you can iterate over it etc).
* @return Pointer to the packet list.