1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-01-28 14:39:22 +01:00

"Minor fixes."

This commit is contained in:
gyboth 2005-08-28 11:35:21 +00:00
parent 54cc54f5c4
commit 911e52517a
3 changed files with 10 additions and 7 deletions

View File

@ -69,7 +69,7 @@ debug_action(const gchar *text, gint value)
else if(g_str_has_prefix(text, "testcom") || else if(g_str_has_prefix(text, "testcom") ||
g_str_has_prefix(text, "tc")) g_str_has_prefix(text, "tc"))
{ {
stat5 = -value; stat5 = -value - 1000;
game_gui_print_message("Commentary type displayed: %d.", value); game_gui_print_message("Commentary type displayed: %d.", value);
} }
else if(g_str_has_prefix(text, "help")) else if(g_str_has_prefix(text, "help"))

View File

@ -63,7 +63,7 @@ live_game_calculate_fixture(Fixture *fix)
if(last_unit.event.type == LIVE_GAME_EVENT_END_MATCH) if(last_unit.event.type == LIVE_GAME_EVENT_END_MATCH)
{ {
if(fixture_user_team_involved(match->fix) != -1 || stat5 < 0) if(fixture_user_team_involved(match->fix) != -1 || stat5 < -1000)
lg_commentary_post_match(); lg_commentary_post_match();
game_post_match(fix); game_post_match(fix);
} }
@ -98,7 +98,7 @@ live_game_initialize(Fixture *fix)
game_initialize(fix); game_initialize(fix);
if(fixture_user_team_involved(match->fix) != -1 || stat5 < 0) if(fixture_user_team_involved(match->fix) != -1 || stat5 < -1000)
lg_commentary_initialize(fix); lg_commentary_initialize(fix);
} }
@ -1310,7 +1310,7 @@ live_game_finish_unit(void)
treeview_show_user_player_list(); treeview_show_user_player_list();
} }
if(fixture_user_team_involved(match->fix) != -1 || stat5 < 0) if(fixture_user_team_involved(match->fix) != -1 || stat5 < -1000)
{ {
if(unit->time != LIVE_GAME_UNIT_TIME_PENALTIES) if(unit->time != LIVE_GAME_UNIT_TIME_PENALTIES)
{ {
@ -1322,7 +1322,7 @@ live_game_finish_unit(void)
lg_commentary_generate(match, unit); lg_commentary_generate(match, unit);
if(stat5 == -unit->event.type) if(-stat5 - 1000 == unit->event.type)
{ {
printf("type %d com **%s**", unit->event.type, unit->event.commentary->str); printf("type %d com **%s**", unit->event.type, unit->event.commentary->str);
if(g_strrstr(unit->event.commentary->str, "[") || if(g_strrstr(unit->event.commentary->str, "[") ||

View File

@ -10,9 +10,12 @@ string_contrib_entry Mark D. Symonds
string_contrib_title Windows port string_contrib_title Windows port
string_contrib_entry Simon Binns string_contrib_entry Simon Binns
string_contrib_title Patches and ideas
string_contrib_entry Mark Calderbank, Michal Rudolf
string_contrib_title Country definitions string_contrib_title Country definitions
string_contrib_entry Győző Both (Germany, Italy, Scotland) string_contrib_entry Győző Both (Australia, Germany, Italy, Scotland)
string_contrib_entry Mark Calderbank (England) string_contrib_entry Mark Calderbank (England, Ireland, Spain, Victoria, Wales)
string_contrib_entry Tobe &amp; Arne Deprez (Belgium) string_contrib_entry Tobe &amp; Arne Deprez (Belgium)
string_contrib_entry Celso Goya (Brazil) string_contrib_entry Celso Goya (Brazil)
string_contrib_entry Arnaud Le Rouzic (France) string_contrib_entry Arnaud Le Rouzic (France)