Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000017 [DCSS] Bug Report minor always 2009-11-23 11:18 2010-06-06 13:34
Reporter Matthew Cline View Status public  
Assigned To greensnark
Priority normal Resolution done  
Status resolved   Product Branch
Summary 0000017: Gods avoiding putting ghost_demon mons in clouds
Description create_monster() tries to avoid putting god gifts monsters into harmful clouds, and does this by passing a dummy monster with just the type and base_monster fields set. However, if that type of monster is supposed to have a demon_ghost (like dancing weapons) then mons_avoids_cloud() will crash when trying to access the non-setup demon_ghost.

I've put in a hack to never place god gift demon_ghost monsters in clouds, to prevent crashes, but this should be dealt with somehow.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
greensnark (developer)
2010-06-06 13:34

Fixed by treating ghost_demon monsters as a known monster with no resists (human) in the dummy cloud-check.

- Issue History
Date Modified Username Field Change
2009-11-23 11:18 Matthew Cline New Issue
2009-11-23 11:18 Matthew Cline Test Custom Field => Foo
2010-06-06 13:34 greensnark Note Added: 0005377
2010-06-06 13:34 greensnark Status new => resolved
2010-06-06 13:34 greensnark Fixed in Branch => 0.7 development branch
2010-06-06 13:34 greensnark Resolution open => done
2010-06-06 13:34 greensnark Assigned To => greensnark

Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker