Menu

#21 Crash when selecting some units

Development version
closed-fixed
Data (7)
5
2006-01-05
2006-01-05
No

When selecting some units, game crashes without debug
messages. Gdb says:

"0x080e0a67 in CIcon::DrawUnitIcon (this=0x0,
player=0x8342ca0, style=0x8932710, flags=0, x=9, y=169,
text=0x0)
at icons.cpp:204
204 s.Default.Sprite = s.Hover.Sprite =
s.Selected.Sprite =
(gdb) bt
#0 0x080e0a67 in CIcon::DrawUnitIcon (this=0x0,
player=0x8342ca0, style=0x8932710, flags=0, x=9, y=169,
text=0x0)
at icons.cpp:204
#1 0x080e628e in DrawUnitInfo (unit=0x8bfa8d0) at
mainscr.cpp:653
#2 0x080e78b9 in CInfoPanel::Draw (this=0x8378aac) at
mainscr.cpp:1326
#3 0x080b674a in UpdateDisplay () at mainloop.cpp:245
#4 0x080b6a8d in GameMainLoop () at mainloop.cpp:406
#5 0x080db61d in MenuLoop (filename=0x81f6300
"maps/Single/Normal/test.smp", map=0x81f69a0) at
stratagus.cpp:575
#6 0x080dbb20 in main1 (argc=1, argv=0xbfc0c864) at
stratagus.cpp:806
#7 0x080dc040 in main (argc=1, argv=0xbfc0c864) at
stratagus.cpp:1096"

so the problem seems to be problem with icons.

Discussion

  • Kimmo Merikivi

    Kimmo Merikivi - 2006-01-05
    • status: open --> closed-fixed
     
  • Kimmo Merikivi

    Kimmo Merikivi - 2006-01-05

    Logged In: YES
    user_id=1140447

    Fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB