B13009 - Teleport Control and confusion

Only allow level teleports to be controlled when not confused, just like
regular teleports.
This commit is contained in:
cohrs
2002-11-04 22:11:35 +00:00
parent 4af82192bc
commit e3b9c00826
2 changed files with 2 additions and 1 deletions

View File

@@ -294,6 +294,7 @@ cancelled yellow lights should not explode against other monsters, as well as
not exploding against you
becoming confused, eg from nausia, while reading a spellbook should result
in the usual confusion effects
level teleports should not be controlled if you're confused
Platform- and/or Interface-Specific Fixes

View File

@@ -556,7 +556,7 @@ level_tele()
You_feel("very disoriented for a moment.");
return;
}
if (Teleport_control
if ((Teleport_control && !Confusion)
#ifdef WIZARD
|| wizard
#endif