Fixed compilation error on PSP/PSVITA.
This commit is contained in:
@@ -1591,7 +1591,7 @@ AADamager::AADamager(GameObserver* observer, int _id, MTGCardInstance * _source,
|
|||||||
const string AADamager::getMenuText()
|
const string AADamager::getMenuText()
|
||||||
{
|
{
|
||||||
MTGCardInstance * _target = dynamic_cast<MTGCardInstance*>(target);
|
MTGCardInstance * _target = dynamic_cast<MTGCardInstance*>(target);
|
||||||
if(_target && _target->hasType(Subtypes::TYPE_PLANESWALKER) || _target && _target->hasType(Subtypes::TYPE_BATTLE))
|
if(_target && (_target->hasType(Subtypes::TYPE_PLANESWALKER) || _target->hasType(Subtypes::TYPE_BATTLE)))
|
||||||
return _target->name.c_str();
|
return _target->name.c_str();
|
||||||
if(redirected)
|
if(redirected)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user