summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-11 23:35:32 +0000
committerrubidium <rubidium@openttd.org>2009-03-11 23:35:32 +0000
commitf67e2a41ceed76590e7021a786404b974a1d70e0 (patch)
treea5bb181fa1c60682b84a787eb3fac03c0422c80e /src
parentcf2154781443a1d7e83ee9bdea1148175035a3f1 (diff)
downloadopenttd-f67e2a41ceed76590e7021a786404b974a1d70e0.tar.xz
(svn r15678) -Fix (r15676): crash when (re)applying newgrf settings
Diffstat (limited to 'src')
-rw-r--r--src/saveload/vehicle_sl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp
index a651d06bb..2b5bc94dc 100644
--- a/src/saveload/vehicle_sl.cpp
+++ b/src/saveload/vehicle_sl.cpp
@@ -359,6 +359,7 @@ void AfterLoadVehicles(bool part_of_load)
default: break;
}
+ v->coord.left = INVALID_COORD;
VehicleMove(v, false);
}
}