mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
vcmi: expert dispel now works mechanically correct
This commit is contained in:
@@ -47,10 +47,7 @@ std::vector<std::shared_ptr<const CObstacleInstance>> CBattleInfoEssentials::bat
|
||||
else
|
||||
{
|
||||
if(!!player && *perspective != battleGetMySide())
|
||||
{
|
||||
logGlobal->error("Unauthorized obstacles access attempt!");
|
||||
return ret;
|
||||
}
|
||||
logGlobal->warn("Unauthorized obstacles access attempt, assuming massive spell");
|
||||
}
|
||||
|
||||
for(const auto & obstacle : getBattle()->getAllObstacles())
|
||||
|
||||
Reference in New Issue
Block a user