Solved the commentary issue

This commit is contained in:
gunnar_g 2010-01-19 15:10:15 +00:00
parent ca5f5a9d9e
commit c425e0a697
1 changed files with 2 additions and 1 deletions

View File

@ -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 ||