Browse Source

spell area

Laserlicht 1 year ago
parent
commit
8c14509d72

+ 5 - 1
client/battle/BattleInterfaceClasses.cpp

@@ -456,9 +456,13 @@ StackInfoBasicPanel::StackInfoBasicPanel(const CStack * stack, Point * position,
 
 	if(initializeBackground)
 	{
-		background = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"));
+		background = std::make_shared<CPicture>(ImagePath::builtin("CCRPOP"));
+		background->pos.y += 37;
 		background->getSurface()->setBlitMode(EImageBlitMode::OPAQUE);
 		background->colorize(stack->getOwner());
+		background2 = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"));
+		background2->getSurface()->setBlitMode(EImageBlitMode::OPAQUE);
+		background2->colorize(stack->getOwner());
 	}
 
 	initializeData(stack);

+ 1 - 0
client/battle/BattleInterfaceClasses.h

@@ -148,6 +148,7 @@ class StackInfoBasicPanel : public CIntObject
 {
 private:
 	std::shared_ptr<CPicture> background;
+	std::shared_ptr<CPicture> background2;
 	std::vector<std::shared_ptr<CLabel>> labels;
 	std::vector<std::shared_ptr<CAnimImage>> icons;
 public: