diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-10-28 11:30:25 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-10-28 11:30:25 +0000 |
| commit | a3ce2eb90cd26fe87042344175e5c9669adb7dcd (patch) | |
| tree | d936a8ffafe366caea08c5bb384794034c590322 /src/engine/snapshot.c | |
| parent | eba83b7e194cc6b4ba76fd5e048d81279becfc35 (diff) | |
| download | zcatch-a3ce2eb90cd26fe87042344175e5c9669adb7dcd.tar.gz zcatch-a3ce2eb90cd26fe87042344175e5c9669adb7dcd.zip | |
major update. splitted the player information into two diffrent network items
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++; |