Browse Source

Fixed opening spellbook via hero screen.

Michał W. Urbańczyk 14 years ago
parent
commit
44619757e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/GUIClasses.cpp

+ 1 - 1
client/GUIClasses.cpp

@@ -4509,7 +4509,7 @@ void CArtPlace::clickLeft(tribool down, bool previousState)
 
 
 	if (!down && previousState)
 	if (!down && previousState)
 	{
 	{
-		if(ourArt && ourArt->id == 0) //spellbook
+		if(ourArt && ourArt->artType->id == 0) //spellbook
 			return; //this is handled separately
 			return; //this is handled separately
 
 
 		if(!ourOwner->commonInfo->src.AOH) //nothing has been clicked
 		if(!ourOwner->commonInfo->src.AOH) //nothing has been clicked