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
|
not exploding against you
|
||||||
becoming confused, eg from nausia, while reading a spellbook should result
|
becoming confused, eg from nausia, while reading a spellbook should result
|
||||||
in the usual confusion effects
|
in the usual confusion effects
|
||||||
|
level teleports should not be controlled if you're confused
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+1
-1
@@ -556,7 +556,7 @@ level_tele()
|
|||||||
You_feel("very disoriented for a moment.");
|
You_feel("very disoriented for a moment.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (Teleport_control
|
if ((Teleport_control && !Confusion)
|
||||||
#ifdef WIZARD
|
#ifdef WIZARD
|
||||||
|| wizard
|
|| wizard
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user