mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
small cleanup
This commit is contained in:
@@ -604,7 +604,7 @@ SpellTypes spellType(const CSpell *spell)
|
||||
default:
|
||||
return OTHER;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
struct PossibleSpellcast
|
||||
{
|
||||
|
@@ -325,12 +325,12 @@ bool isCloser(const CGObjectInstance *lhs, const CGObjectInstance *rhs)
|
||||
return ln->turns < rn->turns;
|
||||
|
||||
return (ln->moveRemains > rn->moveRemains);
|
||||
};
|
||||
}
|
||||
|
||||
bool compareMovement(HeroPtr lhs, HeroPtr rhs)
|
||||
{
|
||||
return lhs->movement > rhs->movement;
|
||||
};
|
||||
}
|
||||
|
||||
ui64 evaluateDanger(const CGObjectInstance *obj);
|
||||
|
||||
|
Reference in New Issue
Block a user