mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Draw random artifact as an atomic operation
This commit is contained in:
@ -38,6 +38,7 @@ void CMapUndoManager::redo()
|
||||
|
||||
void CMapUndoManager::clearAll()
|
||||
{
|
||||
//FIXME: Will crash if an object was added twice to actions
|
||||
undoStack.clear();
|
||||
redoStack.clear();
|
||||
onUndoRedo();
|
||||
|
Reference in New Issue
Block a user