bug: RUN: xform_unit_view weirdness with

Stan Shebs shebs@apple.com
Sat Jul 27 14:05:00 GMT 2002


Steven S. Dick wrote:

>On Sat, Jul 27, 2002 at 08:09:38AM -0400, Steven S. Dick wrote:
>
>>However, this last save dies on recovery.  It segfaults here:
>>#0  0x811c662 in repair_if_damaged (unit=0x81d76e0) at plan.c:1760
>>
>>    if (u_hp_recovery(u) <= 0
>>    	&& (any_auto_repair ? !will_be_auto_repaired[u] : TRUE))
>>
>>u = 3
>>any_auto_repair = -1
>>will_be_auto_repaired[3] = 0x0
>>
>
>Sorry, mistranscribed that.
>will_be_auto_repaired = 0x0
>so will_be_auto_repaired[u] would be a null pointer dereference.
>
>Also, the warning message "xform_unit_view weirdness with"
>comes from line 727 of ui.c; once passing the warning, the display
>appears totally disabled, and refreshing does not restore it.
>
Intrigued by the discussion on AIs, I updated and built xconq myself
for the first time in over a year(!), and noticed something like this too.
The game runs normally, but all drawing, both on main and world maps,
is bypassed, and the gray areas get larger and larger as you try to scroll,
resize, etc.

Stan

>



More information about the Xconq7 mailing list