mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
[refactor] reduce some code duplication. no functional changes
This commit is contained in:
@@ -123,7 +123,7 @@ CPlayerInterface::~CPlayerInterface()
|
||||
if(adventureInt)
|
||||
{
|
||||
if(adventureInt->active & CIntObject::KEYBOARD)
|
||||
adventureInt->deactivateKeys();
|
||||
adventureInt->deactivateKeyboard();
|
||||
delete adventureInt;
|
||||
adventureInt = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user