From 699ba07d3c7751ea273a1d4be63bf885b2cb6b16 Mon Sep 17 00:00:00 2001 From: stpohle Date: Thu, 22 Feb 2007 21:12:18 +0000 Subject: [PATCH] fdata missing in the bombdata packet? Sint16 or Uint16? --- include/packets.h | 4 ++-- src/packets.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/packets.h b/include/packets.h index 211ba83..6d79512 100644 --- a/include/packets.h +++ b/include/packets.h @@ -1,4 +1,4 @@ -/* $Id: packets.h,v 1.35 2007/01/12 11:15:44 stpohle Exp $ +/* $Id: packets.h,v 1.36 2007/02/22 21:12:18 stpohle Exp $ * network packets.. */ #ifndef _PACKETS_H_ @@ -220,7 +220,7 @@ struct pkg_bombdata { Sint32 to; Uint16 destx; Uint16 desty; - Sint16 fdata; + Uint16 fdata; } __attribute__((packed)); struct pkg_quit { diff --git a/src/packets.c b/src/packets.c index 53ded0f..59e5826 100644 --- a/src/packets.c +++ b/src/packets.c @@ -989,9 +989,9 @@ do_playermove (struct pkg_playermove *p_dat, _net_addr * addr) } -/* - * Packettype: bombdata - */ +/*** + *** Packettype: bombdata + ***/ void do_bombdata (struct pkg_bombdata *b_dat, _net_addr * addr) { _bomb *bomb;