remove unused variables

This commit is contained in:
Andrey Filipenkov
2022-09-22 11:54:10 +03:00
parent 143b0983e6
commit c9c79887a7
13 changed files with 11 additions and 58 deletions
+1 -3
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;
}
-4
View File
@@ -28,12 +28,8 @@ public:
private:
int64_t initalDamage;
const Environment * env;
BattleStackAttacked * pack;
std::shared_ptr<battle::Unit> target;
};
}