mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Refactoring of CPicture class to improve encapsulation
This commit is contained in:
@@ -492,8 +492,8 @@ CBonusSelection::CRegion::CRegion(int id, bool accessible, bool selectable, cons
|
||||
graphicsSelected->disable();
|
||||
graphicsStriped = std::make_shared<CPicture>(prefix + "Co" + suffix + ".BMP");
|
||||
graphicsStriped->disable();
|
||||
pos.w = graphicsNotSelected->bg->w;
|
||||
pos.h = graphicsNotSelected->bg->h;
|
||||
pos.w = graphicsNotSelected->pos.w;
|
||||
pos.h = graphicsNotSelected->pos.h;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user