summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
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);
}