Skip to content

Commit

Permalink
Blood: Add null pointer check to Cryptic search path handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendricks266 authored Aug 13, 2024
1 parent 57835db commit 8ea10db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blood/src/blood.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ int app_main(int argc, char const * const * argv)
{
G_CleanupSearchPaths();

if (strcmp(pINISelected->zName, "CRYPTIC.INI"))
if (pINISelected && strcmp(pINISelected->zName, "CRYPTIC.INI"))
removesearchpaths_withuser(SEARCHPATH_CRYPTIC);
}

Expand Down

0 comments on commit 8ea10db

Please sign in to comment.