mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
strange bug while clicking
This commit is contained in:
@ -344,6 +344,9 @@ SDL_Surface * SComponent::getImg()
|
||||
case primskill:
|
||||
return CGI->heroh->pskillsb->ourImages[subtype].bitmap;
|
||||
break;
|
||||
case secskill:
|
||||
return CGI->abilh->abils44->ourImages[subtype*3 + 3 + val].bitmap;
|
||||
break;
|
||||
case resource:
|
||||
return CGI->heroh->resources->ourImages[subtype].bitmap;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user