mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed bug 186.
This commit is contained in:
parent
598334a71e
commit
218194c36e
@ -1393,7 +1393,7 @@ void CHeroList::updateMove(const CGHeroInstance* which) //draws move points bar
|
||||
if(heroes[i]->subID == which->subID)
|
||||
ser = i;
|
||||
ser -= from;
|
||||
if(ser<0 || ser > SIZE) return;
|
||||
if(ser<0 || ser >= SIZE) return;
|
||||
int pom = std::min((which->movement)/100,(si32)mobile->ourImages.size()-1);
|
||||
blitAt(mobile->ourImages[pom].bitmap,posmobx,posmoby+ser*32); //move point
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user