Skip to content

Commit

Permalink
Rename the get_wet function to amnesia_wet.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Sep 27, 2023
1 parent 998015d commit 90da5da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/extern.h
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ E void FDECL(strange_feeling, (struct obj *, const char *));
E void FDECL(impact_arti_light, (struct obj *, BOOLEAN_P, BOOLEAN_P));
E void FDECL(potionhit, (struct monst *, struct obj *, int));
E void FDECL(potionbreathe, (struct obj *));
E boolean FDECL(get_wet, (struct obj *, BOOLEAN_P, BOOLEAN_P));
E boolean FDECL(amnesia_wet, (struct obj *, BOOLEAN_P, BOOLEAN_P));
E int NDECL(dodip);
E void FDECL(ferment, (ANY_P *, long));
E void FDECL(mongrantswish, (struct monst **));
Expand Down
6 changes: 3 additions & 3 deletions src/potion.c
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,7 @@ int how;
/* Uh-oh! */
if (uarmh && is_helmet(uarmh) &&
rn2(10 - (uarmh->cursed? 8 : 0)))
get_wet(uarmh, TRUE, your_fault);
amnesia_wet(uarmh, TRUE, your_fault);
break;
case POT_HALLUCINATION:
if (!Halluc_resistance) {
Expand Down Expand Up @@ -2883,7 +2883,7 @@ boolean *used;
- It also removes fooproofing
*/
boolean
get_wet(obj, amnesia, ourfault)
amnesia_wet(obj, amnesia, ourfault)
register struct obj *obj;
boolean amnesia;
boolean ourfault;
Expand Down Expand Up @@ -3247,7 +3247,7 @@ dodip()
potion = splitobj(obj, 1L);
potion->in_use = TRUE;
}
if (get_wet(obj, TRUE, TRUE))
if (amnesia_wet(obj, TRUE, TRUE))
goto poof;
}
else if (obj->otyp == POT_POLYMORPH || potion->otyp == POT_POLYMORPH) {
Expand Down

0 comments on commit 90da5da

Please sign in to comment.