diff options
Diffstat (limited to 'undo.cpp')
-rw-r--r-- | undo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -282,8 +282,8 @@ void History_Action_Shift(memory *Memory, action_type ActionChange, void *DataAd *(action_type *)Data = ActionChange; } -// Overwrite area with arbitrary-sized memory. Only use for creation/deletion, -// not for value changes of things that already exist. +// Overwrite area with arbitrary-sized memory. Only use if the previous data +// doesn't need to be recorded, like pushing to the end of a stack. void History_Action_StoreData(memory *Memory, void *DataAddress, uint64 ByteSize) { Memory->Action.Entry[Memory->Action.Index].NumberOfActions++; |