| [Freeciv-Dev] Re: (PR#10446) do_update should be set for all in set_comm[Top] [All Lists][Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
 
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10446 >
Mike Kaufman wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10446 >
> 
> currently do_update is only set TRUE for SSET_INT. It should also be set
> in SSET_STRING and SSET_BOOL
Seems easy to fix...
 ? newtiles
Index: server/stdinhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/stdinhand.c,v
retrieving revision 1.354
diff -u -r1.354 stdinhand.c
--- server/stdinhand.c  4 Oct 2004 04:37:34 -0000       1.354
+++ server/stdinhand.c  6 Oct 2004 16:03:09 -0000
@@ -2366,6 +2366,7 @@
        my_snprintf(buffer, sizeof(buffer),
                    _("Option: %s has been set to %d."), op->name,
                    *(op->bool_value) ? 1 : 0);
+       do_update = TRUE;
       }
     }
     break;
@@ -2413,6 +2414,7 @@
        my_snprintf(buffer, sizeof(buffer),
                    _("Option: %s has been set to \"%s\"."), op->name,
                    op->string_value);
+       do_update = TRUE;
       }
     }
     break;
 
| [Prev in Thread] | Current Thread | [Next in Thread] |  
[Freeciv-Dev] Re: (PR#10446) do_update should be set for all in set_command,
Jason Short <=
 
 |  |