List Info

Thread: (PR#19204) superfluous call to set_client_page() in clinet.c?




(PR#19204) superfluous call to set_client_page() in clinet.c?
user name
2006-08-04 04:55:13
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=19204
>

in clinet.c line 120:

if (!with_ggz) {
  set_client_page(in_ggz ? PAGE_GGZ : PAGE_MAIN);
}

reports_force_thaw();

set_client_state(CLIENT_PRE_GAME_STATE);

-----

the set_client_state() function calls set_client_page(),
too, so the
call in clinet.c is not really necessary, is it?
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )