src/economy.cpp
branchNewGRF_ports
changeset 10274 b3c58f3df92b
parent 10192 195d7f6dcf71
child 10724 68a692eacf22
equal deleted inserted replaced
10243:e9066a148720 10274:b3c58f3df92b
    24 #include "newgrf_engine.h"
    24 #include "newgrf_engine.h"
    25 #include "newgrf_sound.h"
    25 #include "newgrf_sound.h"
    26 #include "newgrf_callbacks.h"
    26 #include "newgrf_callbacks.h"
    27 #include "newgrf_industries.h"
    27 #include "newgrf_industries.h"
    28 #include "newgrf_industrytiles.h"
    28 #include "newgrf_industrytiles.h"
       
    29 #include "newgrf_station.h"
    29 #include "unmovable.h"
    30 #include "unmovable.h"
    30 #include "cargotype.h"
    31 #include "cargotype.h"
    31 #include "player_face.h"
    32 #include "player_face.h"
    32 #include "group.h"
    33 #include "group.h"
    33 #include "strings_func.h"
    34 #include "strings_func.h"
  1689 			ge->cargo.MoveTo(&v->cargo, cap, CargoList::MTA_CARGO_LOAD, st->xy);
  1690 			ge->cargo.MoveTo(&v->cargo, cap, CargoList::MTA_CARGO_LOAD, st->xy);
  1690 
  1691 
  1691 			st->time_since_load = 0;
  1692 			st->time_since_load = 0;
  1692 			st->last_vehicle_type = v->type;
  1693 			st->last_vehicle_type = v->type;
  1693 
  1694 
       
  1695 			StationAnimationTrigger(st, st->xy, STAT_ANIM_CARGO_TAKEN, v->cargo_type);
       
  1696 
  1694 			unloading_time += cap;
  1697 			unloading_time += cap;
  1695 
  1698 
  1696 			result |= 2;
  1699 			result |= 2;
  1697 		}
  1700 		}
  1698 
  1701