B13009 - Teleport Control and confusion
Only allow level teleports to be controlled when not confused, just like regular teleports.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user