1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-17 02:39:14 +01:00

Solved the commentary issue

This commit is contained in:
gunnar_g 2010-01-19 15:10:15 +00:00
parent ca5f5a9d9e
commit c425e0a697

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], pl2 = player_of_id_team(fix->teams[!unit->possession],
unit->event.player2); 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], pl1 = player_of_id_team(fix->teams[!unit->possession],
unit->event.player); unit->event.player);
else if(unit->event.type == LIVE_GAME_EVENT_FOUL || else if(unit->event.type == LIVE_GAME_EVENT_FOUL ||