Load title sequence when invalid path was given

This commit is contained in:
Michał Janiszewski 2017-07-06 23:25:38 +02:00
parent ab6d4ee240
commit 22d0cb99f9
1 changed files with 1 additions and 0 deletions

View File

@ -329,6 +329,7 @@ bool rct2_open_file(const char *path)
{
char *extension = strrchr(path, '.');
if (extension == NULL) {
title_load();
return false;
}
extension++;