1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

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

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++;