* Interface for damage assignment.
This commit is contained in:
jean.chalard
2009-08-31 02:00:33 +00:00
parent c9f5519ba6
commit 6dab048a9e
19 changed files with 377 additions and 213 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ int ActionStack::addDraw(Player * player, int nb_cards){
}
int ActionStack::addDamage(MTGCardInstance * _source, Damageable * _target, int _damage){
Damage * damage = NEW Damage(mCount, _source, _target, _damage);
Damage * damage = NEW Damage(_source, _target, _damage);
addAction(damage);
return 1;
}