temporary blindness vs permanent blindness
While testing the fix for unicorn horn vs blindness, I noticed that when 'blind from birth' (OPTIONS=blind) you would get "your vision seems to dim for a moment but is normal now" when timed blindness was added to persistent blindness. That happened for both 3.6.x and to-be-3.7. Change it "you have a strange feeling for a moment". In 3.7, having temporary blindness timeout while permanently blind produced "your vision seems to brighten for a moment but is normal now". Change that to strange feeling too. For some reason I haven't tried to figure out, 3.6.x stayed silent when this took place.
This commit is contained in:
@@ -1178,6 +1178,8 @@ hangup in wizard or explore mode would result in answering ESC to "Die?"
|
|||||||
resulted in repeat death then the program might get stuck in a loop
|
resulted in repeat death then the program might get stuck in a loop
|
||||||
instead of exiting [no reports of such, but if it ever happened the
|
instead of exiting [no reports of such, but if it ever happened the
|
||||||
process was probably killed without anyone knowing why it happened]
|
process was probably killed without anyone knowing why it happened]
|
||||||
|
with OPTIONS=blind (blind from birth), being inflicted with timed blinding
|
||||||
|
yielded "your vision seems to dim for a moment but is normal now"
|
||||||
|
|
||||||
|
|
||||||
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ make_blinded(long xtime, boolean talk)
|
|||||||
} else if (old && !xtime) {
|
} else if (old && !xtime) {
|
||||||
/* clearing temporary blindness without toggling blindness */
|
/* clearing temporary blindness without toggling blindness */
|
||||||
if (talk) {
|
if (talk) {
|
||||||
if (!haseyes(gy.youmonst.data)) {
|
if (!haseyes(gy.youmonst.data) || PermaBlind) {
|
||||||
strange_feeling((struct obj *) 0, (char *) 0);
|
strange_feeling((struct obj *) 0, (char *) 0);
|
||||||
} else if (Blindfolded) {
|
} else if (Blindfolded) {
|
||||||
eyes = body_part(EYE);
|
eyes = body_part(EYE);
|
||||||
@@ -307,7 +307,7 @@ make_blinded(long xtime, boolean talk)
|
|||||||
} else if (!old && xtime) {
|
} else if (!old && xtime) {
|
||||||
/* setting temporary blindness without toggling blindness */
|
/* setting temporary blindness without toggling blindness */
|
||||||
if (talk) {
|
if (talk) {
|
||||||
if (!haseyes(gy.youmonst.data)) {
|
if (!haseyes(gy.youmonst.data) || PermaBlind) {
|
||||||
strange_feeling((struct obj *) 0, (char *) 0);
|
strange_feeling((struct obj *) 0, (char *) 0);
|
||||||
} else if (Blindfolded) {
|
} else if (Blindfolded) {
|
||||||
eyes = body_part(EYE);
|
eyes = body_part(EYE);
|
||||||
@@ -1560,6 +1560,8 @@ H2Opotion_dip(
|
|||||||
res = TRUE;
|
res = TRUE;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
#undef COST_alter)
|
||||||
|
#undef COST_none)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* used when blessed or cursed scroll of light interacts with artifact light;
|
/* used when blessed or cursed scroll of light interacts with artifact light;
|
||||||
|
|||||||
Reference in New Issue
Block a user