mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 06:22:48 +00:00
tidy water sync
This commit is contained in:
@ -62,7 +62,11 @@ CWaterLevel::Initialise(Const char *pWaterDat)
|
|||||||
#ifdef MASTER
|
#ifdef MASTER
|
||||||
int32 hFile = -1;
|
int32 hFile = -1;
|
||||||
|
|
||||||
while ((hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb")) < 0);
|
do
|
||||||
|
{
|
||||||
|
hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb");
|
||||||
|
}
|
||||||
|
while ( hFile < 0 );
|
||||||
#else
|
#else
|
||||||
int32 hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb");
|
int32 hFile = CFileMgr::OpenFile("DATA\\waterpro.dat", "rb");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user