diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-25 18:55:59 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-25 18:55:59 -0400 |
commit | b39c7374009d03d448e47e08ddabc30abeee5247 (patch) | |
tree | d1a022544720138f244c0bf9cbc1437ff50e589d /undo.cpp | |
parent | ae94b4b9fc5b4443f6d9eb6bb450de1def108cdb (diff) |
minor fixes
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++; |