1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Converted attributes to use c++17 functionality

This commit is contained in:
Ivan Savenko
2023-04-10 17:44:41 +03:00
parent 2150eabfc5
commit 63b197b78a
14 changed files with 15 additions and 47 deletions

View File

@@ -136,7 +136,7 @@ ui64 FuzzyHelper::evaluateDanger(const CGObjectInstance * obj)
{
if(!vstd::contains(ai->memory->alreadyVisited, obj))
return 0;
FALLTHROUGH;
[[fallthrough]];
}
case Obj::MONSTER:
case Obj::HERO: