mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Merge remote-tracking branch 'origin/develop' into terrain-rewrite
# Conflicts: # lib/Terrain.cpp # lib/Terrain.h
This commit is contained in:
@@ -558,7 +558,7 @@ bool AINodeStorage::selectNextActor()
|
||||
for(auto actor = actors.begin(); actor != actors.end(); actor++)
|
||||
{
|
||||
if(actor->get()->armyValue > currentActor->get()->armyValue
|
||||
|| actor->get()->armyValue == currentActor->get()->armyValue && actor <= currentActor)
|
||||
|| (actor->get()->armyValue == currentActor->get()->armyValue && actor <= currentActor))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user