mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
tidy water sync
This commit is contained in:
1 parent
23b5e664dc
commit
c4c92c357f
1 file changed
+5
-1
@@ -62,7 +62,11 @@ CWaterLevel::Initialise(Const char *pWaterDat)
|
||||
#ifdef MASTER
|
||||
int32 hFile = -1;
|
||||
|
||||
while ((hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb")) < 0);
|
||||
do
|
||||
{
|
||||
hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb");
|
||||
}
|
||||
while ( hFile < 0 );
|
||||
#else
|
||||
int32 hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb");
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user