1
0
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:
alexvins
2012-10-06 20:35:04 +00:00
parent 3f0c225880
commit ff3da291a1
6 changed files with 73 additions and 189 deletions

View File

@@ -123,7 +123,7 @@ CPlayerInterface::~CPlayerInterface()
if(adventureInt)
{
if(adventureInt->active & CIntObject::KEYBOARD)
adventureInt->deactivateKeys();
adventureInt->deactivateKeyboard();
delete adventureInt;
adventureInt = NULL;
}