mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
- Better name as suggested in PR
- Compile fix
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../JsonNode.h"
|
||||
#include "../CModHandler.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@@ -367,7 +368,7 @@ public:
|
||||
|
||||
for(const auto & id : node.Vector())
|
||||
{
|
||||
VLC->modh->identifiers.requestIdentifier(U::scope(), id, [&value](int32_t identifier)
|
||||
VLC->modh->identifiers.requestIdentifier(U::entityType(), id, [&value](int32_t identifier)
|
||||
{
|
||||
value.emplace(identifier);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user