From a3ce2eb90cd26fe87042344175e5c9669adb7dcd Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 28 Oct 2007 11:30:25 +0000 Subject: major update. splitted the player information into two diffrent network items --- src/engine/snapshot.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/engine/snapshot.c') 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++; -- cgit 1.4.1