- Finally fixed the bug which prevented monsters from appearing in town.

- Attempted in vain to fix the crash when showing the Choose Custom Scenario dialog.
- Cleaned out the commented code in boe.global.h.
- Changed name of scen_header_type::default_ground to rating to reflect its actual use.

git-svn-id: http://openexile.googlecode.com/svn/trunk@83 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-30 22:47:09 +00:00
parent 4359bb558e
commit aa2f13c679
20 changed files with 562 additions and 794 deletions

View File

@@ -852,11 +852,11 @@ short do_look(location space)
if ((univ.town.monst.dudes[i].active != 0) && (is_lit == true)
&& (monst_on_space(space,i) == true) &&
((overall_mode == MODE_LOOK_TOWN) || (can_see(pc_pos[current_pc],space,0) < 5))
&& (univ.town.monst.dudes[i].m_d.picture_num != 0)) {
&& (univ.town.monst.dudes[i].picture_num != 0)) {
msg = get_m_name(univ.town.monst.dudes[i].number);
if (univ.town.monst.dudes[i].m_d.health < univ.town.monst.dudes[i].m_d.m_health) {
if (univ.town.monst.dudes[i].health < univ.town.monst.dudes[i].m_health) {
if (univ.town.monst.dudes[i].attitude % 2 == 1)
msg = " Wounded " + msg + " (H)";
else msg = " Wounded " + msg + " (F)";