Changeset - r10068:8ab7aa794461
[Not reviewed]
master
0 1 0
glx - 16 years ago 2008-09-03 13:25:56
glx@openttd.org
(svn r14235) -Fix (r14234): compilation with MSVC was broken
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/cargopacket.cpp
Show inline comments
 
@@ -219,7 +219,7 @@ bool CargoList::MoveTo(CargoList *dest, 
 
			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;
0 comments (0 inline, 0 general)