1
0
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:
Tomasz Zieliński
2022-09-27 07:50:17 +02:00
636 changed files with 4774 additions and 971 deletions

View File

@@ -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