mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
MSVS compiler doesn't allow default arguments for Lambdas.
This commit is contained in:
@ -5846,6 +5846,6 @@ const CMap * ServerSpellCastEnvironment::getMap() const
|
||||
|
||||
bool ServerSpellCastEnvironment::moveHero(ObjectInstanceID hid, int3 dst, ui8 teleporting, PlayerColor asker) const
|
||||
{
|
||||
return gh->moveHero(hid, dst, teleporting, asker);
|
||||
return gh->moveHero(hid, dst, teleporting, false, asker);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user