From a80da2cd4eb71356898b3f12a5f5bb6fcdef6221 Mon Sep 17 00:00:00 2001 From: gunnar_g Date: Tue, 19 Jan 2010 15:10:15 +0000 Subject: [PATCH] Solved the commentary issue --- src/lg_commentary.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lg_commentary.c b/src/lg_commentary.c index 42874569..9cfda4d2 100644 --- a/src/lg_commentary.c +++ b/src/lg_commentary.c @@ -459,7 +459,8 @@ lg_commentary_set_player_tokens(const LiveGameUnit *unit, const Fixture *fix) pl2 = player_of_id_team(fix->teams[!unit->possession], unit->event.player2); } - else if(unit->event.type == LIVE_GAME_EVENT_OWN_GOAL) + else if(unit->event.type == LIVE_GAME_EVENT_OWN_GOAL || + unit->event.type == LIVE_GAME_EVENT_CORNER_KICK) pl1 = player_of_id_team(fix->teams[!unit->possession], unit->event.player); else if(unit->event.type == LIVE_GAME_EVENT_FOUL ||