Skip to content
Snippets Groups Projects
Commit b03d2b16 authored by LJ Sonic's avatar LJ Sonic
Browse files

Delete unneeded check

parent 13ba25f4
Branches
Tags
2 merge requests!1254Only call the Lua API for overridden actions,!1248Fix stacktrace
......@@ -822,7 +822,7 @@ boolean LUA_CallAction(enum actionnum actionnum, mobj_t *actor)
{
I_Assert(actor != NULL);
if (!(gL && actionsoverridden[actionnum])) // Lua isn't loaded, or the action is not overriden,
if (!actionsoverridden[actionnum]) // The action is not overriden,
return false; // action not called.
if (superstack && fasticmp(actionpointers[actionnum].name, superactions[superstack-1])) // the action is calling itself,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment