diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
commit | 79d1633d51015b2a9224dece9da083ff1ab8b7c2 (patch) | |
tree | 02e16aef3ea7a18f810240ed540d753f9f77b3af | |
parent | c4a0ea29732f31fc9a6fc21ee3c1b282e9c14b3d (diff) |
Remove error-prone use of FALSE -> pointer coercion
-rw-r--r-- | src/cmd6.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd6.cc b/src/cmd6.cc index a71087be..3aa0cf23 100644 --- a/src/cmd6.cc +++ b/src/cmd6.cc @@ -6645,7 +6645,7 @@ const char *activation_aux(object_type * o_ptr, bool_ doit, int item) } } - if (!get_aim_dir(&dir)) return (FALSE); + if (!get_aim_dir(&dir)) return nullptr; msg_print("The light around you is absorbed... " "and released in a powerful bolt!"); |