]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a minor issue with snake tail 238/head
authorMario <zacjardine@y7mail.com>
Fri, 9 Oct 2015 08:58:38 +0000 (18:58 +1000)
committerMario <zacjardine@y7mail.com>
Fri, 9 Oct 2015 08:58:38 +0000 (18:58 +1000)
qcsrc/common/minigames/minigame/snake.qc

index da5cc4a922f222760227302331bf6920f8c4f7d8..cbb13420fb1573ad76e31e2b7eb6a1057e0fa51c 100644 (file)
@@ -599,7 +599,7 @@ void snake_hud_board(vector pos, vector mySize)
                                {
                                        int thex = minigame_tile_letter(e.netname);
                                        int they = minigame_tile_number(e.netname);
-                                       entity t = snake_find_cnt(active_minigame, minigame_self.team, e.cnt - 1);
+                                       entity t = snake_find_cnt(active_minigame, e.team, e.cnt - 1);
                                        int tx = minigame_tile_letter(t.netname);
                                        int ty = minigame_tile_number(t.netname);