(svn r17814) -Codechange: there's no need to invalidate the cache in the constructor of a CargoList; the list is empty, the CargoList is calloc-ed so all caches are 0.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 15 years ago
parent 08ac51fada
commit 7f6d9d8c11

@ -222,7 +222,7 @@ protected:
public:
/** Create the cargo list */
FORCEINLINE CargoList() { this->InvalidateCache(); }
CargoList() {}
/** And destroy it ("frees" all cargo packets) */
~CargoList();

Loading…
Cancel
Save