1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Bugfix - it should work now.

This commit is contained in:
Michał W. Urbańczyk
2007-12-06 19:06:07 +00:00
parent 58f1a2169f
commit ae0be1f79e
4 changed files with 19 additions and 1 deletions

View File

@@ -314,6 +314,12 @@ void CHeroList::hover (bool on)
void CHeroList::keyPressed (SDL_KeyboardEvent & key)
{
}
void CHeroList::updateMove(const CGHeroInstance* which) //draws move points bar
{
int ser = LOCPLINT->cb->getHeroSerial(which);
int pom = (which->movement)/100;
blitAtWR(mobile->ourImages[pom].bitmap,posmobx,posmoby+ser*32); //move point
}
void CHeroList::draw()
{
for (int iT=0+from;iT<5+from;iT++)