diff options
Diffstat (limited to 'src/engine/snapshot.c')
| -rw-r--r-- | src/engine/snapshot.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/engine/snapshot.c b/src/engine/snapshot.c index 84f0416b..40bad21e 100644 --- a/src/engine/snapshot.c +++ b/src/engine/snapshot.c @@ -94,26 +94,11 @@ void snapshot_debug_dump(SNAPSHOT *snap) static int diff_item(int *past, int *current, int *out, int size) { - /* int needed = 0; while(size) { *out = *current-*past; - if(*out) - needed = 1; - out++; - current++; - past++; - size--; - }*/ - - int needed = 0; - while(size) - { - *out = *current-*past; - if(*out) - needed = 1; - + needed |= *out; out++; past++; current++; |