- fixed: PowerProtection clamped its damage minimum to 1, but should do it to 0.
This commit is contained in:
parent
bd86abede3
commit
b3d7980b90
2 changed files with 2 additions and 1 deletions
|
|
@ -270,6 +270,7 @@ bool DMenu::CallMenuEvent(int mkey, bool fromcontroller)
|
|||
|
||||
void DMenu::Close ()
|
||||
{
|
||||
if (DMenu::CurrentMenu == nullptr) return; // double closing can happen in the save menu.
|
||||
assert(DMenu::CurrentMenu == this);
|
||||
DMenu::CurrentMenu = mParentMenu;
|
||||
Destroy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue