1
0
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:
mateuszb
2008-01-28 12:28:18 +00:00
parent 9ed4f66cb7
commit b1af2fb829
3 changed files with 32 additions and 10 deletions

View File

@ -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;