Commit bd746591 authored by NY00123's avatar NY00123 Committed by Richard Gobeille

source/duke3d/src/m32common.cpp:M_RegisterFunction:

Remove param which was not used in non-LUNATIC builds
parent 44433d61
......@@ -1469,7 +1469,7 @@ static void M_UnregisterFunction(StatusBarMenu *m, intptr_t auxdata)
}
}
static void M_RegisterFunction(StatusBarMenu *m, const char *name, intptr_t auxdata, const char *description)
static void M_RegisterFunction(StatusBarMenu *m, const char *name, intptr_t auxdata)
{
int32_t i;
......@@ -1495,8 +1495,6 @@ static void M_RegisterFunction(StatusBarMenu *m, const char *name, intptr_t auxd
Bstrncpyz(m->name[m->numentries], name, MENU_ENTRY_SIZE);
m->auxdata[m->numentries] = auxdata;
UNREFERENCED_PARAMETER(description);
m->numentries++;
}
......@@ -1642,7 +1640,7 @@ void FuncMenu(void)
void registerMenuFunction(const char *funcname, int32_t stateidx)
{
if (funcname)
M_RegisterFunction(&g_specialFuncMenu, funcname, stateidx, NULL);
M_RegisterFunction(&g_specialFuncMenu, funcname, stateidx);
else
M_UnregisterFunction(&g_specialFuncMenu, stateidx);
}
......
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