mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	vcmi: modernize lib/events
This commit is contained in:
		| @@ -28,7 +28,7 @@ SubscriptionRegistry<ApplyDamage> * ApplyDamage::getRegistry() | ||||
|  | ||||
| CApplyDamage::CApplyDamage(const Environment * env_, BattleStackAttacked * pack_, std::shared_ptr<battle::Unit> target_) | ||||
| 	: pack(pack_), | ||||
| 	target(target_) | ||||
| 	target(std::move(target_)) | ||||
| { | ||||
| 	initalDamage = pack->damageAmount; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user