Erwan
- fix compilation issues
This commit is contained in:
Binary file not shown.
@@ -28,7 +28,6 @@ void Damage::init(MTGCardInstance * _source, Damageable * _target, int _damage){
|
|||||||
int Damage::resolve(){
|
int Damage::resolve(){
|
||||||
if (damage <0) damage = 0; //Negative damages cannot happen
|
if (damage <0) damage = 0; //Negative damages cannot happen
|
||||||
state = RESOLVED_OK;
|
state = RESOLVED_OK;
|
||||||
cout << "RESOLVE " << damage << " >> " << _target->name << endl;
|
|
||||||
GameObserver * g = GameObserver::GetInstance();
|
GameObserver * g = GameObserver::GetInstance();
|
||||||
WEvent * e = NEW WEventDamage(this);
|
WEvent * e = NEW WEventDamage(this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user