- moved two native player menu functions out of the main menu class.
These manipulate entries of that menu and have no business being called from anywhere else than this menu and its subclasses.
This commit is contained in:
parent
43eb7d61e7
commit
f3d75469c9
3 changed files with 5 additions and 4 deletions
|
|
@ -937,7 +937,7 @@ void M_CreateGameMenus()
|
|||
}
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DMenu, UpdateColorsets)
|
||||
DEFINE_ACTION_FUNCTION(DNewPlayerMenu, UpdateColorsets)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_POINTER(playerClass, FPlayerClass);
|
||||
|
|
@ -963,7 +963,7 @@ DEFINE_ACTION_FUNCTION(DMenu, UpdateColorsets)
|
|||
return 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DMenu, UpdateSkinOptions)
|
||||
DEFINE_ACTION_FUNCTION(DNewPlayerMenu, UpdateSkinOptions)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_POINTER(playerClass, FPlayerClass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue