;end of fucking waterlevel

This commit is contained in:
aap 2020-12-16 13:38:09 +01:00
parent c42463bf4e
commit 7d89e955fe
1 changed files with 4 additions and 0 deletions

View File

@ -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);