1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

(almost) unlimited undo, why not?

This commit is contained in:
Tomasz Zieliński 2022-09-06 19:22:36 +02:00
parent ca0446c4ee
commit d790978dbb

View File

@ -19,10 +19,9 @@
#include "CMapOperation.h"
CMapUndoManager::CMapUndoManager() :
undoRedoLimit(10),
undoRedoLimit(100000), //not sure if we ever need to bother about undo limit
undoCallback([](bool, bool) {})
{
//TODO: unlimited undo
}
void CMapUndoManager::undo()