(fixed) Seg fault when nonsensically cycling leader

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
kaypy
Artisan
Posts: 171
Joined: Sun Jan 19, 2014 7:11 am

(fixed) Seg fault when nonsensically cycling leader

Post by kaypy »

I get a crash fault on the following circumstances:

Have exactly 1 champion
Hit the next leader hotkey (presumably by accident)

Sometimes the prev leader hotkey causes crashes, too. Other times it means that everything "works" after that...
PROGRAM CRASH!
Location: 0 10 5
Reason: Segmentation Fault
Stack Dump:
DSBmain
DSBgameloop
draw_interface
One other oddity, when the swap leader buttons are working, they will cycle through the empty party slots, whereas it would probably make more sense to just use the existing members. Hmm. What happens when the non-existent leader tries to pick something up, I wonder?

Ah, you can quite happily have your non-existent leader cart stuff around for you, with no penalty to anyone for the encumbrance. Could be quite useful if it didn't risk causing the end of the world.
Friends don't let friends eat worm round
Post Reply