1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

-Fixed Pyramid bug and incorrect behaviour of specific banks

-Commited some old scraps of better InfoWindow with scrollbar
This commit is contained in:
DjWarmonger
2009-12-29 17:13:40 +00:00
parent def041a8c9
commit 63ba552d87
3 changed files with 18 additions and 12 deletions

View File

@ -582,10 +582,10 @@ CSlider::CSlider(int x, int y, int totalw, boost::function<void(int)> Moved, int
}
if(style == 0)
{
{
if (horizontal)
imgs = CDefHandler::giveDefEss("IGPCRDIV.DEF");
else
imgs = CDefHandler::giveDefEss("IGPCRDIV.DEF");
else
imgs = CDefHandler::giveDefEss("OVBUTN2.DEF");
left->imgs.resize(1); right->imgs.resize(1); slider->imgs.resize(1);
left->imgs[0].push_back(imgs->ourImages[0].bitmap); left->imgs[0].push_back(imgs->ourImages[1].bitmap);