OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #37353 bool型の返り値に付いていたカッコを除去 / Removed parenthesis from 'return (TRUE...
[hengband/hengband.git]
/
src
/
wizard1.c
diff --git
a/src/wizard1.c
b/src/wizard1.c
index
b8a33ca
..
6d8602e
100644
(file)
--- a/
src/wizard1.c
+++ b/
src/wizard1.c
@@
-1564,7
+1564,7
@@
static bool make_fake_artifact(object_type *o_ptr, IDX name1)
/* Acquire the "kind" index */
i = lookup_kind(a_ptr->tval, a_ptr->sval);
- if (!i) return
(FALSE)
;
+ if (!i) return
FALSE
;
object_prep(o_ptr, i);
@@
-1582,7
+1582,7
@@
static bool make_fake_artifact(object_type *o_ptr, IDX name1)
o_ptr->weight = a_ptr->weight;
/* Success */
- return
(TRUE)
;
+ return
TRUE
;
}