mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Merge remote-tracking branch 'origin/develop' into terrain-rewrite
# Conflicts: # lib/Terrain.cpp # lib/Terrain.h # lib/battle/CBattleInfoEssentials.cpp # lib/rmg/ObstaclePlacer.cpp # lib/rmg/RiverPlacer.cpp
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#include "../mapping/CMap.h"
|
||||
#include "CMapOperation.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
CMapUndoManager::CMapUndoManager() :
|
||||
undoRedoLimit(100000), //not sure if we ever need to bother about undo limit
|
||||
undoCallback([](bool, bool) {})
|
||||
@@ -199,3 +201,5 @@ CMapUndoManager & CMapEditManager::getUndoManager()
|
||||
{
|
||||
return undoManager;
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
||||
Reference in New Issue
Block a user