Tracrestrict slots: Fix another crash bug. The slot vehicle list doesn't update when...
commitcce03fdb7200672209602155dbd763dcd5f2a925
authorkeldorkatarn <schmitta79@gmail.com>
Fri, 27 Apr 2018 22:43:53 +0000 (28 00:43 +0200)
committerkeldorkatarn <schmitta79@gmail.com>
Fri, 27 Apr 2018 22:43:53 +0000 (28 00:43 +0200)
treebf57d3dcd2cdbb7211fb93484b482ab32088c1aa
parent7aea2ced3ced5ec4201fbad9c206451aad057718
Tracrestrict slots: Fix another crash bug. The slot vehicle list doesn't update when a vehicle is sold. make sure in updates in all places where the train list is updated.

(I hate this stupid "invalidate window data" crap. That should happen automatically. I hate this UI mechanic....
src/economy.cpp
src/settings.cpp
src/strings.cpp
src/tbtr_template_gui_create.cpp
src/train_cmd.cpp
src/train_gui.cpp
src/vehicle.cpp
src/vehicle_gui.cpp
src/vehicle_gui_base.h
src/window.cpp