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 516546e..6da39de 100644
--- a/gg_map/gg_map.c
+++ b/gg_map/gg_map.c
@@ -114,7 +114,7 @@ _conn_data(int id, u_int8_t pktsize) {
tmp = a; a = b; b = tmp;
}
size = sqrt(size) / 2;
- color = (id * 0x98765400) % 0xFFFFFF00;
+ color = ((id+1) * 0x98765400) % 0xFFFFFF00;
egraph_vertice_send_blob(_egraph, a, b, size, color);
}