diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-05 15:56:13 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-05 15:56:13 +0000 |
| commit | 6ed79c5de77b3f6be5c297cb5432d123ff1ff177 (patch) | |
| tree | a21336754348eb80263aa72768a474c500c8a607 /src/base | |
| parent | 17b80069913989598a27fc31b952407f895f5b51 (diff) | |
- 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
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/net_multiplayer.h | 5 | ||||
| -rw-r--r-- | src/base/proto.c | 5 | ||||
| -rw-r--r-- | src/base/tux.c | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/base/net_multiplayer.h b/src/base/net_multiplayer.h index aacd55f..a37df6f 100644 --- a/src/base/net_multiplayer.h +++ b/src/base/net_multiplayer.h @@ -23,8 +23,9 @@ #define LIMIT_BUFFER 10240 -#define NET_MASTER_SERVER "193.85.244.165" -#define NET_MASTER_PORT 2200 +#define NET_MASTER_SERVER_DOMAIN "ms.tuxanci.org" +#define NET_MASTER_SERVER "193.85.244.165" +#define NET_MASTER_PORT 2200 #ifdef PUBLIC_SERVER extern int initNetMulitplayerPublicServer(char *ip4, int port4, char *ip6, int port6); 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); diff --git a/src/base/tux.c b/src/base/tux.c index f60bd1b..7992bd9 100644 --- a/src/base/tux.c +++ b/src/base/tux.c @@ -754,7 +754,7 @@ void eventListTux(list_t *listTux) #endif pickUpGun(thisTux); eventBonus(thisTux); - eventGiveTuxListItem(thisTux, arena->spaceItem); + //eventGiveTuxListItem(thisTux, arena->spaceItem); } } |