author | peter1138 |
Wed, 03 May 2006 12:17:02 +0000 | |
changeset 3731 | ab294968b9eb |
parent 3730 | cb7f3617bc4a |
child 3732 | c9c5f8635c9c |
newgrf_engine.c | file | annotate | diff | comparison | revisions |
--- a/newgrf_engine.c Wed May 03 11:19:17 2006 +0000 +++ b/newgrf_engine.c Wed May 03 12:17:02 2006 +0000 @@ -653,7 +653,7 @@ *in_motion = v->current_order.type != OT_LOADING; } - totalsets = in_motion ? num_loaded : num_loading; + totalsets = *in_motion ? num_loaded : num_loading; if (v->cargo_count == v->cargo_cap || totalsets == 1) { set = totalsets - 1;