mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Renamed & unified OBJECT_CONSTRUCTION macro set
This commit is contained in:
@@ -29,7 +29,7 @@ CResDataBar::CResDataBar(const ImagePath & imageName, const Point & position)
|
||||
pos.x += position.x;
|
||||
pos.y += position.y;
|
||||
|
||||
OBJECT_CONSTRUCTION_CAPTURING(255-DISPOSE);
|
||||
OBJECT_CONSTRUCTION;
|
||||
background = std::make_shared<CPicture>(imageName, 0, 0);
|
||||
background->setPlayerColor(LOCPLINT->playerID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user