diff --git a/Engine/source/console/consoleFunctions.cpp b/Engine/source/console/consoleFunctions.cpp index bdf1d5cfe..fe55d4b29 100644 --- a/Engine/source/console/consoleFunctions.cpp +++ b/Engine/source/console/consoleFunctions.cpp @@ -2148,7 +2148,7 @@ DefineEngineFunction( displaySplashWindow, bool, (const char* path), (""), "@return True if the splash window could be successfully initialized.\n\n" "@ingroup Platform" ) { - if (path == "") + if (path == NULL || *path == '\0') { path = Con::getVariable("$Core::splashWindowImage"); }