Fixed special spots; they now appear in-game, and disappear when they should.

git-svn-id: http://openexile.googlecode.com/svn/trunk@58 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-17 01:03:22 +00:00
parent 1b68a09993
commit a52a4c20c1
20 changed files with 64 additions and 48 deletions

View File

@@ -690,7 +690,7 @@ bool handle_action(Point the_point,EventRecord event) {
overall_mode = MODE_DRAWING;
break;
}
make_field_type(spot_hit.x, spot_hit.y, 1);
make_field_type(spot_hit.x, spot_hit.y, 2);
overall_mode = MODE_DRAWING;
break;
case MODE_CLEAR_FIELDS:
@@ -700,7 +700,7 @@ bool handle_action(Point the_point,EventRecord event) {
take_barrel(spot_hit.x,spot_hit.y);
take_crate(spot_hit.x,spot_hit.y);
take_web(spot_hit.x,spot_hit.y);
take_field_type(spot_hit.x, spot_hit.y, 1);
take_field_type(spot_hit.x, spot_hit.y, 2);
for (i = 0; i < 8; i++)
take_sfx(spot_hit.x,spot_hit.y,i);
set_cursor(0);
@@ -3704,4 +3704,4 @@ bool monst_on_space(location loc,short m_num) {
return true;
return false;
}
}