diff options
author | aap <aap@papnet.eu> | 2020-12-16 13:38:09 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-16 13:38:09 +0100 |
commit | 7d89e955fe20696130fe76ed3d4582a756bd3621 (patch) | |
tree | 01ccb3a7e37447efd784aaa18598b274c80f46db /src/render | |
parent | c42463bf4e26bc889130d2b3f441f516ca207246 (diff) |
;end of fucking waterlevel
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/WaterLevel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp index 977b61f3..a0c7ae31 100644 --- a/src/render/WaterLevel.cpp +++ b/src/render/WaterLevel.cpp @@ -93,7 +93,11 @@ CWaterLevel::Initialise(Const char *pWaterDat) while ((line = CFileLoader::LoadLine(hFile))) { +#ifdef FIX_BUGS + if (*line && *line != ';' && !strstr(line, "* ;end of file")) +#else if (*line && *line != ';') +#endif { float z, l, b, r, t; sscanf(line, "%f %f %f %f %f", &z, &l, &b, &r, &t); |