From 6ed79c5de77b3f6be5c297cb5432d123ff1ff177 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sat, 5 Jul 2008 15:56:13 +0000 Subject: - miny sa nezobrazuju na radare - tux moze chodit strielat a zmenit zbran sucastne - master server sa pouziga ten na "ms.tuxanci.org" - AI sa nastavuje v GUI ako v TFG git-svn-id: http://opensvn.csie.org/tuxanci_ng@93 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/proto.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/base/proto.c') diff --git a/src/base/proto.c b/src/base/proto.c index 9a5cc4b..cc33149 100644 --- a/src/base/proto.c +++ b/src/base/proto.c @@ -618,7 +618,10 @@ void proto_recv_additem_client(char *msg) return; } - addToRadar(id, x, y, RADAR_TYPE_ITEM); + if( type != ITEM_MINE && type != ITEM_EXPLOSION && type != ITEM_BIG_EXPLOSION ) + { + addToRadar(id, x, y, RADAR_TYPE_ITEM); + } item = newItem(x, y, type, author_id); -- cgit v1.2.3