1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

Remove custom flag from Quick spell panel

This commit is contained in:
Ivan Savenko
2025-06-19 12:19:24 +03:00
parent ae93cbde91
commit 14a3f5a004
5 changed files with 10 additions and 12 deletions

View File

@ -121,6 +121,11 @@ void CIntObject::enable()
recActions = ALL_ACTIONS;
}
bool CIntObject::isDisabled()
{
return recActions == NO_ACTIONS;
}
void CIntObject::setEnabled(bool on)
{
if (on)