Ring of stealth prevents hero from leaving tracks

This commit is contained in:
Pasi Kallinen
2026-03-18 18:04:33 +02:00
parent 18cb293766
commit 9877e52025
2 changed files with 5 additions and 0 deletions

View File

@@ -2900,6 +2900,7 @@ monsters will use throw-and-return weapons such as an aklys
archeologists can identify scrolls by deciphering their labels
monster destroy armor -spell first erodes armor
iron shoes protect the wearer against certain floor-based traps
ring of stealth prevents hero from leaving tracks
Platform- and/or Interface-Specific New Features

View File

@@ -23,6 +23,10 @@ initrack(void)
void
settrack(void)
{
if ((uleft && uleft->otyp == RIN_STEALTH)
|| (uright && uright->otyp == RIN_STEALTH))
return;
if (utcnt < UTSZ)
utcnt++;
if (utpnt == UTSZ)