mirror of https://github.com/tstellar/bygfoot.git
Solved the commentary issue
This commit is contained in:
parent
b941d0ca64
commit
a80da2cd4e
|
@ -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 ||
|
||||||
|
|
Loading…
Reference in New Issue