This commit is contained in:
Nikolay Korolev 2020-04-14 20:16:02 +03:00
parent fbed2c4530
commit f35d2721f5

View file

@ -106,7 +106,7 @@ void CSceneEdit::LoadMovie(void)
CFileMgr::SetDir("DATA"); CFileMgr::SetDir("DATA");
int fid = CFileMgr::OpenFile("movie.dat", "r"); int fid = CFileMgr::OpenFile("movie.dat", "r");
#ifdef FIX_BUGS #ifdef FIX_BUGS
if (fid > 0) if (fid >= 0)
#endif #endif
{ {
CFileMgr::Read(fid, (char*)&Movie, sizeof(Movie)); CFileMgr::Read(fid, (char*)&Movie, sizeof(Movie));