mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed opening spellbook via hero screen.
This commit is contained in:
parent
6db068f506
commit
44619757e8
@ -4509,7 +4509,7 @@ void CArtPlace::clickLeft(tribool down, bool previousState)
|
||||
|
||||
if (!down && previousState)
|
||||
{
|
||||
if(ourArt && ourArt->id == 0) //spellbook
|
||||
if(ourArt && ourArt->artType->id == 0) //spellbook
|
||||
return; //this is handled separately
|
||||
|
||||
if(!ourOwner->commonInfo->src.AOH) //nothing has been clicked
|
||||
|
Loading…
Reference in New Issue
Block a user