We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d0af7 commit 17ea662Copy full SHA for 17ea662
1 file changed
Source/Editors/LevelEditor/Edit/UI_LevelMain.cpp
@@ -201,6 +201,7 @@ CCommandVar CommandLoad(CCommandVar p1, CCommandVar p2)
201
ExecCommand (COMMAND_CLEAR);
202
203
IReader* R = FS.r_open (temp_fn.c_str());
204
+ if (!R)return false;
205
char ch;
206
R->r(&ch, sizeof(ch));
207
bool is_ltx = (ch=='[');
0 commit comments