src/train_cmd.cpp
changeset 10319 77f1149ee0c9
parent 10315 b5a6fb206640
child 10382 d1d4452acbfc
equal deleted inserted replaced
10318:e66f24f12a84 10319:77f1149ee0c9
  2229 		SND_0A_TRAIN_HORN,
  2229 		SND_0A_TRAIN_HORN,
  2230 		SND_47_MAGLEV_2,
  2230 		SND_47_MAGLEV_2,
  2231 		SND_41_MAGLEV
  2231 		SND_41_MAGLEV
  2232 	};
  2232 	};
  2233 
  2233 
  2234 	if (IsTileType(this->tile, MP_STATION)) StationAnimationTrigger(NULL, this->tile, STAT_ANIM_TRAIN_DEPARTS);
       
  2235 
       
  2236 	if (PlayVehicleSound(this, VSE_START)) return;
  2234 	if (PlayVehicleSound(this, VSE_START)) return;
  2237 
  2235 
  2238 	EngineID engtype = this->engine_type;
  2236 	EngineID engtype = this->engine_type;
  2239 	SndPlayVehicleFx(sfx[RailVehInfo(engtype)->engclass], this);
  2237 	SndPlayVehicleFx(sfx[RailVehInfo(engtype)->engclass], this);
  2240 }
  2238 }