mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
remove unused variables
This commit is contained in:
@@ -25,10 +25,8 @@ SubscriptionRegistry<ApplyDamage> * ApplyDamage::getRegistry()
|
||||
}
|
||||
|
||||
CApplyDamage::CApplyDamage(const Environment * env_, BattleStackAttacked * pack_, std::shared_ptr<battle::Unit> target_)
|
||||
: env(env_),
|
||||
pack(pack_),
|
||||
: pack(pack_),
|
||||
target(target_)
|
||||
|
||||
{
|
||||
initalDamage = pack->damageAmount;
|
||||
}
|
||||
|
||||
@@ -28,12 +28,8 @@ public:
|
||||
private:
|
||||
int64_t initalDamage;
|
||||
|
||||
const Environment * env;
|
||||
BattleStackAttacked * pack;
|
||||
std::shared_ptr<battle::Unit> target;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user