aboutsummaryrefslogtreecommitdiffstats
path: root/gg_map/gg_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'gg_map/gg_map.c')
-rw-r--r--gg_map/gg_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c
index 7a08b28..516546e 100644
--- a/gg_map/gg_map.c
+++ b/gg_map/gg_map.c
@@ -113,7 +113,7 @@ _conn_data(int id, u_int8_t pktsize) {
if (response) {
tmp = a; a = b; b = tmp;
}
- size = log(size) * 2;
+ size = sqrt(size) / 2;
color = (id * 0x98765400) % 0xFFFFFF00;
egraph_vertice_send_blob(_egraph, a, b, size, color);
}