Update of bug #24859 (project freeciv):

        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #1:

But in bot gtkX clients there is code directly allowing non-player with hack
access
to start game, even he is detached or observer.
(its probably disabled somewhere else, bc gtk2 cannot start as observer with
hack)

So its not allowed, right ?

gtk2 pages.c  l.2155

if (can_client_control()) { .... 
} else {
    if (can_client_access_hack()) {
      sensitive = TRUE;
      players_iterate(plr) {
        if (!plr->ai_controlled) {
          /* There's human controlled player(s) in game, so it's their
           * job to start the game. */
          sensitive = FALSE;
          break;
        }
      } players_iterate_end;
    }

(sensitive is start button enabled or no)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24859>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to