From: Mario Date: Fri, 9 Oct 2015 08:58:38 +0000 (+1000) Subject: Fix a minor issue with snake tail X-Git-Tag: xonotic-v0.8.2~1841^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f8db5372140d1d38ad02c9a0bfb070eca98d92e7;p=xonotic%2Fxonotic-data.pk3dir.git Fix a minor issue with snake tail --- diff --git a/qcsrc/common/minigames/minigame/snake.qc b/qcsrc/common/minigames/minigame/snake.qc index da5cc4a92..cbb13420f 100644 --- a/qcsrc/common/minigames/minigame/snake.qc +++ b/qcsrc/common/minigames/minigame/snake.qc @@ -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);