(svn r14235) -Fix (r14234): compilation with MSVC was broken

pull/155/head
glx 16 years ago
parent e25227d709
commit 744c9eda2f

@ -219,7 +219,7 @@ bool CargoList::MoveTo(CargoList *dest, uint count, CargoList::MoveToAction mta,
if (mta != MTA_FINAL_DELIVERY) {
CargoPacket *cp_new = new CargoPacket();
Money fs = cp->feeder_share * count / cp->count;
Money fs = cp->feeder_share * count / static_cast<uint>(cp->count);
cp->feeder_share -= fs;
cp_new->source = cp->source;

Loading…
Cancel
Save