forked from Mirrors/openclonk
Remove superfluous pointer check
The pointer to a member variable of a static object is never NULL, so checking for this is useless.Controls
parent
4b1b06388e
commit
b791404147
|
@ -1349,7 +1349,6 @@ static bool FnGetMissionAccess(C4PropList * _this, C4String *strMissionAccess)
|
|||
if (::Control.SyncMode())
|
||||
Log("Warning: using GetMissionAccess may cause desyncs when playing records!");
|
||||
|
||||
if (!Config.General.MissionAccess) return false;
|
||||
return SIsModule(Config.General.MissionAccess, FnStringPar(strMissionAccess));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue