Update of bug #21044 (project freeciv):

                  Status:               Confirmed => In Progress            
         Planned Release:                   2.4.0 => 2.4.0-RC2, 2.5.0, 2.6.0

    _______________________________________________________

Follow-up Comment #3:

Seems like client is checking if it should draw city outline for moving enemy
settler. I guess it's either coming from or entering to tile unknown to
client's player, and client tries to check if one can build city to that
tile.


(gdb) bt full
#0  0x00000000005034ba in city_build_here_test (ptile=0x432a350, 
    punit=punit@entry=0x31e1c60) at common/city.c:1394
        citymindist = <optimized out>
        __FUNCTION__ = "city_build_here_test"
#1  0x00000000005037d9 in city_can_be_built_here (ptile=<optimized out>, 
    punit=punit@entry=0x31e1c60) at common/city.c:1379
No locals.
#2  0x00000000004b35c7 in unit_drawn_with_city_outline (
    punit=punit@entry=0x31e1c60, check_focus=check_focus@entry=true)
    at client/tilespec.c:4265
No locals.
#3  0x000000000048f9ea in refresh_unit_mapcanvas (punit=punit@entry=0x31e1c60,

    ptile=ptile@entry=0x432bb60, full_refresh=full_refresh@entry=true, 
    write_to_screen=write_to_screen@entry=false)
    at client/mapview_common.c:152
No locals.
#4  0x0000000000477e62 in do_move_unit (punit=punit@entry=0x31e1c60, 
    target_unit=target_unit@entry=0x31e1d70)
    at client/control.c:2167
        src_tile = 0x432bb60
        dst_tile = 0x432a350
        was_teleported = <optimized out>
        do_animation = true
#5  0x000000000049365b in handle_unit_packet_common (
    packet_unit=packet_unit@entry=0x31e1d70)
    at client/packhand.c:1445
        pcity = 0x0
        pcity = <optimized out>
        punit = 0x31e1c60
        need_menus_update = false
        need_economy_report_update = false
        need_units_report_update = false
        repaint_unit = false
        repaint_city = false
        old_tile = 0x432bb60
        check_focus = false
        moved = true
        ret = true
        __FUNCTION__ = "handle_unit_packet_common"
#6  0x0000000000496033 in handle_unit_short_info
(packet=packet@entry=0xc0d210)
    at client/packhand.c:1703
        pcity = <optimized out>
        punit = 0x31e1d70
        __FUNCTION__ = "handle_unit_short_info"
#7  0x000000000049bf37 in client_handle_packet (
    type=type@entry=PACKET_UNIT_SHORT_INFO, packet=packet@entry=0xc0d210)


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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