1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

remove unused variables

This commit is contained in:
Andrey Filipenkov
2022-09-22 11:49:55 +03:00
parent 143b0983e6
commit c9c79887a7
13 changed files with 11 additions and 58 deletions

View File

@@ -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;
}