mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 18:39:00 +00:00
;end of fucking waterlevel
This commit is contained in:
parent
c42463bf4e
commit
7d89e955fe
1 changed files with 4 additions and 0 deletions
|
@ -93,7 +93,11 @@ CWaterLevel::Initialise(Const char *pWaterDat)
|
||||||
|
|
||||||
while ((line = CFileLoader::LoadLine(hFile)))
|
while ((line = CFileLoader::LoadLine(hFile)))
|
||||||
{
|
{
|
||||||
|
#ifdef FIX_BUGS
|
||||||
|
if (*line && *line != ';' && !strstr(line, "* ;end of file"))
|
||||||
|
#else
|
||||||
if (*line && *line != ';')
|
if (*line && *line != ';')
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
float z, l, b, r, t;
|
float z, l, b, r, t;
|
||||||
sscanf(line, "%f %f %f %f %f", &z, &l, &b, &r, &t);
|
sscanf(line, "%f %f %f %f %f", &z, &l, &b, &r, &t);
|
||||||
|
|
Loading…
Reference in a new issue