mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
* creature info window contains info about modified speed
* removed unwanted behavior - VCMI allows now for attacking when move action fails (command walk & attack) [to be tested as I'm not sure if I've done enough] * battle result window properly displayed
This commit is contained in:
@@ -566,13 +566,14 @@ void CBattleInterface::show(SDL_Surface * to)
|
||||
}
|
||||
}
|
||||
|
||||
SDL_SetClipRect(to, &buf); //restoring previous clip_rect
|
||||
|
||||
//showing window with result of battle
|
||||
if(resWindow)
|
||||
{
|
||||
resWindow->show(to);
|
||||
}
|
||||
|
||||
SDL_SetClipRect(to, &buf); //restoring previous clip_rect
|
||||
|
||||
//printing border around interface
|
||||
if(screen->w != 800 || screen->h !=600)
|
||||
@@ -2310,6 +2311,7 @@ void CBattleHex::clickRight(boost::logic::tribool down)
|
||||
pom->defenseBonus = h->getPrimSkillLevel(1);
|
||||
pom->luck = h->getCurrentLuck();
|
||||
pom->morale = h->getCurrentMorale();
|
||||
pom->speedBonus = myst.speed() - myst.creature->speed;
|
||||
}
|
||||
|
||||
pom->shotsLeft = myst.shots;
|
||||
|
||||
Reference in New Issue
Block a user