From 23bab89d1ed6a7330a2b8937e6b27d282851d4d7 Mon Sep 17 00:00:00 2001 From: parasti Date: Sat, 9 Apr 2011 17:42:49 +0000 Subject: [PATCH] Bump minimum supported SOL version Fixes crashes. Compatibility would be preferable, but unlikely. git-svn-id: https://s.snth.net/svn/neverball/branches/gles@3569 78b8d119-cf0a-0410-b17c-f493084dd1d7 --- share/solid_base.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/share/solid_base.c b/share/solid_base.c index aae2d16..5cdc5a4 100644 --- a/share/solid_base.c +++ b/share/solid_base.c @@ -25,9 +25,8 @@ enum { - SOL_VER_MINIMUM = 6, - SOL_VER_PATH_FLAGS, - SOL_VER_CURRENT = SOL_VER_PATH_FLAGS + SOL_VER_MINIMUM = 7, + SOL_VER_CURRENT = SOL_VER_MINIMUM }; #define SOL_MAGIC (0xAF | 'S' << 8 | 'O' << 16 | 'L' << 24) @@ -135,8 +134,7 @@ static void sol_load_path(fs_file fin, struct b_path *pp) pp->tm = TIME_TO_MS(pp->t); pp->t = MS_TO_TIME(pp->tm); - if (sol_version >= SOL_VER_PATH_FLAGS) - get_index(fin, &pp->fl); + get_index(fin, &pp->fl); pp->e[0] = 1.0f; pp->e[1] = 0.0f; -- 1.7.9.5