<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39992 >

How could pIncite_Dlg work?  Compare with S2_2:

S2_1/client/gui-sdl/diplomat_dialog.c line 1311:

     if (game_find_unit_by_number(pIncite_Dlg->diplomat_id)
        && game_find_unit_by_number(pIncite_Dlg->diplomat_target_id)) {
        request_diplomat_action(DIPLOMAT_BRIBE, pBribe_Dlg->diplomat_id,
                                           pBribe_Dlg->diplomat_target_id, 0);
     }


S2_2/client/gui-sdl/diplomat_dialog.c line 1311:

     if (game_find_unit_by_number(pBribe_Dlg->diplomat_id)
        && game_find_unit_by_number(pBribe_Dlg->diplomat_target_id)) {
        request_diplomat_action(DIPLOMAT_BRIBE, pBribe_Dlg->diplomat_id,
                                           pBribe_Dlg->diplomat_target_id, 0);
     }



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

Reply via email to