mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Prepare battle log for spell-cast on server side.
This commit is contained in:
@@ -1243,6 +1243,11 @@ const PlayerColor CStack::getOwner() const
|
||||
return owner;
|
||||
}
|
||||
|
||||
void CStack::getCasterName(MetaString & text) const
|
||||
{
|
||||
//always plural name in case of spell cast.
|
||||
text.addReplacement(MetaString::CRE_PL_NAMES, type->idNumber.num);
|
||||
}
|
||||
|
||||
bool CMP_stack::operator()( const CStack* a, const CStack* b )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user