summaryrefslogtreecommitdiffstats
path: root/src/control/SceneEdit.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-14 19:16:02 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-14 19:16:02 +0200
commitf35d2721f5f0ead5f663cffeb2eae6bfc95a176c (patch)
treecdbe6383a12da38aabc2be4d4a9e41bbd5a69bb1 /src/control/SceneEdit.cpp
parentfix debug stuff (diff)
downloadre3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.tar
re3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.tar.gz
re3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.tar.bz2
re3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.tar.lz
re3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.tar.xz
re3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.tar.zst
re3-f35d2721f5f0ead5f663cffeb2eae6bfc95a176c.zip
Diffstat (limited to 'src/control/SceneEdit.cpp')
-rw-r--r--src/control/SceneEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp
index 306aba14..8d804e4d 100644
--- a/src/control/SceneEdit.cpp
+++ b/src/control/SceneEdit.cpp
@@ -106,7 +106,7 @@ void CSceneEdit::LoadMovie(void)
CFileMgr::SetDir("DATA");
int fid = CFileMgr::OpenFile("movie.dat", "r");
#ifdef FIX_BUGS
- if (fid > 0)
+ if (fid >= 0)
#endif
{
CFileMgr::Read(fid, (char*)&Movie, sizeof(Movie));