forked from mirror/OpenTTD
(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
This commit is contained in:
@@ -246,7 +246,7 @@ public:
|
||||
|
||||
|
||||
void Append(CargoPacket *cp);
|
||||
void Truncate(uint max_remaining);
|
||||
uint Truncate(uint max_move = UINT_MAX);
|
||||
|
||||
template <class Tother_inst>
|
||||
bool MoveTo(Tother_inst *dest, uint count, MoveToAction mta, CargoPayment *payment, uint data = 0);
|
||||
|
Reference in New Issue
Block a user