mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix target selection for teleport
This commit is contained in:
@@ -79,9 +79,6 @@ class BattleStacksController
|
||||
///when animation is playing, we should wait till the end to make the next stack active; nullptr of none
|
||||
const CStack *stackToActivate;
|
||||
|
||||
/// stack that was selected for multi-target spells - Teleport / Sacrifice
|
||||
const CStack *selectedStack;
|
||||
|
||||
/// for giving IDs for animations
|
||||
ui32 animIDhelper;
|
||||
|
||||
@@ -126,7 +123,6 @@ public:
|
||||
void activateStack(); //copy stackToActivate to activeStack to enable controls of the stack
|
||||
|
||||
void setActiveStack(const CStack *stack);
|
||||
void setSelectedStack(const CStack *stack);
|
||||
|
||||
void showAliveStack(Canvas & canvas, const CStack * stack);
|
||||
void showStack(Canvas & canvas, const CStack * stack);
|
||||
@@ -140,7 +136,6 @@ public:
|
||||
void addNewAnim(BattleAnimation *anim); //adds new anim to pendingAnims
|
||||
|
||||
const CStack* getActiveStack() const;
|
||||
const CStack* getSelectedStack() const;
|
||||
const std::vector<uint32_t> getHoveredStacksUnitIds() const;
|
||||
|
||||
void update();
|
||||
|
||||
Reference in New Issue
Block a user