Commit 065284b2 authored by Dino Bollinger's avatar Dino Bollinger Committed by Evan Ramos
Browse files

SW: Fix Wangulator crashing on launch

parent 65c6a359
......@@ -438,9 +438,12 @@ static int32_t SW_TryLoadingGrp(char const * const grpfile, internalgrpfile cons
else
{
initprintf("Using \"%s\" as main game data file.\n", grpfile);
if (type && type->postprocessing)
type->postprocessing(i);
SW_GameFlags |= type->gameflags;
if (type)
{
if (type->postprocessing)
type->postprocessing(i);
SW_GameFlags |= type->gameflags;
}
}
return i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment