1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

little change for gcc

This commit is contained in:
Łukasz Wychrystenko 2008-12-17 21:47:48 +00:00
parent 6d3dd6595b
commit ea6fc75436

View File

@ -765,7 +765,7 @@ void CResDataBar::deactivate()
{
ClickableR::deactivate();
}
CResDataBar::CResDataBar(const std::string &defname, int x, int y, int offx, int offy, int resdist, int datedist)
CResDataBar::CResDataBar(const std::string &defname, int x, int y, int offx, int offy, int datedist)
{
bg = BitmapHandler::loadBitmap(defname);
SDL_SetColorKey(bg,SDL_SRCCOLORKEY,SDL_MapRGB(bg->format,0,255,255));