From f82bee12bca762eb137cd9f35f3d048237116d98 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 27 Dec 2022 21:46:48 +0000 Subject: [PATCH] Road stops: Fix wrong animation callback when cargo taken --- src/economy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/economy.cpp b/src/economy.cpp index 00ef1c4491..3d724f408c 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -2163,7 +2163,7 @@ static void LoadUnloadVehicle(Vehicle *front) TriggerStationRandomisation(st, st->xy, SRT_CARGO_TAKEN, v->cargo_type); TriggerStationAnimation(st, st->xy, SAT_CARGO_TAKEN, v->cargo_type); AirportAnimationTrigger(st, AAT_STATION_CARGO_TAKEN, v->cargo_type); - TriggerRoadStopAnimation(st, st->xy, SAT_NEW_CARGO, v->cargo_type); + TriggerRoadStopAnimation(st, st->xy, SAT_CARGO_TAKEN, v->cargo_type); TriggerRoadStopRandomisation(st, st->xy, RSRT_CARGO_TAKEN, v->cargo_type); }