summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-08 21:17:12 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-08 21:17:12 +0000
commit0eda3185ba30d433029c9a7e725529a801c93d80 (patch)
tree3eeed16eb926fc3529f051704fd53070670e7124 /src/base/proto.c
parent7386e93e32575bae21006d0300cbff4cf7a40926 (diff)
- do widgetu textfiled sa zmesti IP adresa ( zatial aspon IPv4 )
- v arene je vzdy kostantny pocet zbarni/bonsov ( implicitny je 10, nastavuje sa v configu pomocou ITEM ) - oprava chyby, tux s binusom hidden sa moze teleportovat - oprava chyb v moduloch pipe teleport a wall git-svn-id: http://opensvn.csie.org/tuxanci_ng@125 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index b5f8d39..052a0c4 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -382,8 +382,13 @@ void proto_send_newtux_server(int type, client_t *client, tux_t *tux)
}
else
{
- //x = tux->x;
- //y = tux->y;
+ getTuxProportion(tux, &x, &y, NULL, NULL);
+ }
+
+ if( type == PROTO_SEND_ONE &&
+ tux->bonus == BONUS_HIDDEN &&
+ client->tux == tux )
+ {
getTuxProportion(tux, &x, &y, NULL, NULL);
}