diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-06-05 02:31:07 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-06-05 02:31:29 -0400 |
commit | 68c5851c0b4e7e27803f6038a377be7a7a0625d1 (patch) | |
tree | 2d95b99b0710321a1f23e2b97bfaca030113dd9b /crawl-ref/source/evoke.cc | |
parent | dd8a5379673542f0cf606a2fdcc0c692d25728d7 (diff) | |
download | crawl-ref-68c5851c0b4e7e27803f6038a377be7a7a0625d1.tar.gz crawl-ref-68c5851c0b4e7e27803f6038a377be7a7a0625d1.zip |
Rename nuke_wall() destroy_wall()
and also change a temporary variable name to avoid overshadowing
Diffstat (limited to 'crawl-ref/source/evoke.cc')
-rw-r--r-- | crawl-ref/source/evoke.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/evoke.cc b/crawl-ref/source/evoke.cc index 781e0796dd..9c0ffef60b 100644 --- a/crawl-ref/source/evoke.cc +++ b/crawl-ref/source/evoke.cc @@ -1415,7 +1415,7 @@ static bool _stone_of_tremors() // Destroy doors. for (unsigned int i = 0; i < door_pos.size(); ++i) { - nuke_wall(door_pos[i]); + destroy_wall(door_pos[i]); mpr("The door collapses!"); } @@ -1425,7 +1425,7 @@ static bool _stone_of_tremors() { if (_is_rock(grd(wall_pos[i])) && one_chance_in(3)) { - nuke_wall(wall_pos[i]); + destroy_wall(wall_pos[i]); rubble_pos.push_back(wall_pos[i]); } } |