diff options
-rw-r--r-- | src/net_structrw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net_structrw.c b/src/net_structrw.c index 1d722df0..47513269 100644 --- a/src/net_structrw.c +++ b/src/net_structrw.c @@ -341,7 +341,7 @@ void NET_TiccmdDiff(ticcmd_t *tic1, ticcmd_t *tic2, net_ticdiff_t *diff) // Strife-specific - if (tic2->buttons2 != 0 || tic2->inventory != 0) + if (tic1->buttons2 != tic2->buttons2 || tic2->inventory != 0) diff->diff |= NET_TICDIFF_STRIFE; } @@ -388,7 +388,6 @@ void NET_TiccmdPatch(ticcmd_t *src, net_ticdiff_t *diff, ticcmd_t *dest) } else { - dest->buttons2 = 0; dest->inventory = 0; } } |