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

(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, 
    at client/mapview_common.c:152
No locals.
#4  0x0000000000477e62 in do_move_unit (punit=punit@entry=0x31e1c60, 
    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 (
    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
    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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to