Changes in src/Actions/Action.cpp [601ef8:163110]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Action.cpp
r601ef8 r163110 146 146 endTimer(); 147 147 148 if (shouldUndo() && state != Action::failure){149 if (canUndo()){148 if(shouldUndo() && state != failure){ 149 if(canUndo()){ 150 150 ActionQueue::getInstance().addElement(this,state); 151 151 } 152 //else{153 //ActionQueue::getInstance().clear();154 //}152 else{ 153 ActionQueue::getInstance().clear(); 154 } 155 155 } 156 156
Note:
See TracChangeset
for help on using the changeset viewer.