- Reverted change that allowed "Heal Target" missiles to heal PCs (defeats the purpose of such items as a curse)
- Fixed a few bugs that caused crashes. - Made the code look a little nicer by eliminating the "town.town" redundancies. - Fiddled with ViewDlog a little. - Minor changes to graphics file (won't affect anything yet). git-svn-id: http://openexile.googlecode.com/svn/trunk@44 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -154,7 +154,7 @@ bool run_trap(short pc_num,eTrapType trap_type,short trap_level,short diff)
|
||||
|
||||
if (trap_type == TRAP_RANDOM)
|
||||
trap_type = (eTrapType) get_ran(1,1,4);
|
||||
if (trap_type == TRAP_false_ALARM)
|
||||
if (trap_type == TRAP_FALSE_ALARM)
|
||||
return true;
|
||||
|
||||
if (pc_num < 6) {
|
||||
@@ -264,8 +264,8 @@ location get_spec_loc(short which)
|
||||
short i;
|
||||
|
||||
for (i = 0; i < 50; i++)
|
||||
if (univ.town.town->spec_id[i] == which)
|
||||
return univ.town.town->special_locs[i];
|
||||
if (univ.town->spec_id[i] == which)
|
||||
return univ.town->special_locs[i];
|
||||
return where;
|
||||
}
|
||||
|
||||
@@ -325,6 +325,6 @@ short handle_lever(location w)
|
||||
|
||||
void switch_lever(location w)
|
||||
{
|
||||
alter_space(w.x,w.y,scenario.ter_types[univ.town.town->terrain(w.x,w.y)].trans_to_what);
|
||||
alter_space(w.x,w.y,scenario.ter_types[univ.town->terrain(w.x,w.y)].trans_to_what);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user