mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Make IObjectInterface::cb non-static
This commit is contained in:
@@ -38,10 +38,10 @@
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
RmgMap::RmgMap(const CMapGenOptions& mapGenOptions) :
|
||||
RmgMap::RmgMap(const CMapGenOptions& mapGenOptions, IGameCallback * cb) :
|
||||
mapGenOptions(mapGenOptions), zonesTotal(0)
|
||||
{
|
||||
mapInstance = std::make_unique<CMap>();
|
||||
mapInstance = std::make_unique<CMap>(cb);
|
||||
mapProxy = std::make_shared<MapProxy>(*this);
|
||||
getEditManager()->getUndoManager().setUndoRedoLimit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user