Files
openttd-cmclient/src/station_cmd.cpp
Peter Nelson 8aade54f66 Fix #14921: Crash during station autorefit if station doesn't accept current cargo type. (#14924)
Add convenience helpers to correctly retrieve goods entry cargo available/totals.

Avoids having to check if cargo data is available before accessing it, which was missing for autorefit.
2025-12-21 02:03:50 +05:00

189 KiB