mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Explicitly convert identifier to underlying enumeration
This commit is contained in:
@@ -944,7 +944,7 @@ void FoWChange::applyGs(CGameState *gs)
|
||||
const CGObjectInstance *o = elem;
|
||||
if (o)
|
||||
{
|
||||
switch(o->ID)
|
||||
switch(o->ID.toEnum())
|
||||
{
|
||||
case Obj::HERO:
|
||||
case Obj::MINE:
|
||||
|
||||
Reference in New Issue
Block a user