diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-28 07:55:57 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-29 21:43:56 +0200 |
commit | 77fcd7e02c87167002b8294a47c6cc37a0c960b3 (patch) | |
tree | 46d377f3994b514778162060f514d73359a942bb /src/spells2.c | |
parent | f2b27a7ab74529504da68d418fdcecabd5ee989a (diff) |
Lua: Reintroduce the "obvious" flag from casting
This got accidentally removed when moving the spell functions to C.
Diffstat (limited to 'src/spells2.c')
-rw-r--r-- | src/spells2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spells2.c b/src/spells2.c index 4adab78a..634c69e0 100644 --- a/src/spells2.c +++ b/src/spells2.c @@ -348,7 +348,7 @@ bool_ do_inc_stat(int stat) * Identify everything being carried. * Done by a potion of "self knowledge". */ -void identify_pack(void) +bool_ identify_pack(void) { int i; @@ -370,6 +370,7 @@ void identify_pack(void) p_ptr->notice |= (PN_COMBINE | PN_REORDER); p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER); + return TRUE; } /* |