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:
parent
ca0446c4ee
commit
d790978dbb
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user