summaryrefslogtreecommitdiff
path: root/src/cmd2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-04-21 16:12:21 +0200
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:57:29 +0200
commit30b5c52fc1370065bed0ba0a4b22329556fb0592 (patch)
treedf03f621d7ad9d2f0462a4b70477b73c85cce048 /src/cmd2.c
parentb102a2e0aeb70e93a1122f42e00a7b672f718a07 (diff)
Clear up Clang warnings.
Diffstat (limited to 'src/cmd2.c')
-rw-r--r--src/cmd2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd2.c b/src/cmd2.c
index aefe8a7a..2d05c125 100644
--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -3550,7 +3550,7 @@ void do_cmd_throw(void)
* Hack -- If rods or wands are thrown, the total maximum timeout or
* charges need to be allocated between the two stacks.
*/
- if ((o_ptr->tval == TV_WAND))
+ if (o_ptr->tval == TV_WAND)
{
q_ptr->pval = o_ptr->pval / o_ptr->number;