summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-10-29 19:31:29 +0100
committerBardur Arantsson <bardur@scientician.net>2015-10-31 14:27:10 +0100
commit8868e95a023540e1d5007e9b5d8d1bf35a7ae9c6 (patch)
treeba84f352737353f21523f1ad44921592f2a16eaf /src
parent867823f4429b1215cd5c3aa6d2415fb324429891 (diff)
Fix undefined behavior in wizard mode
Diffstat (limited to 'src')
-rw-r--r--src/cmd1.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd1.cc b/src/cmd1.cc
index 02ad1fd8..ac8e34a4 100644
--- a/src/cmd1.cc
+++ b/src/cmd1.cc
@@ -2844,8 +2844,7 @@ static bool_ pattern_seq(int c_y, int c_x, int n_y, int n_x)
break;
default:
if (wizard)
- msg_format("Funny Straight Road walking, %d.",
- cave[c_y][c_x]);
+ msg_format("Funny Straight Road walking.");
return TRUE; /* Goof-up */
}