From f01b3e2721a5085b7cbae253e04b46a3338d3f43 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 4 Nov 2011 11:09:06 +0000 Subject: (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting --- src/saveload/oldloader_sl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/saveload/oldloader_sl.cpp') diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp index c38e0d78d..73ab7a016 100644 --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -1152,7 +1152,7 @@ static const OldChunks vehicle_chunk[] = { OCL_SVAR( OC_FILE_U16 | OC_VAR_I32, Vehicle, x_pos ), OCL_SVAR( OC_FILE_U16 | OC_VAR_I32, Vehicle, y_pos ), - OCL_SVAR( OC_UINT8, Vehicle, z_pos ), + OCL_SVAR( OC_FILE_U8 | OC_VAR_I32, Vehicle, z_pos ), OCL_SVAR( OC_UINT8, Vehicle, direction ), OCL_NULL( 2 ), ///< x_offs and y_offs, calculated automatically OCL_NULL( 2 ), ///< x_extent and y_extent, calculated automatically -- cgit v1.2.3-54-g00ecf