mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-11 09:45:09 +01:00
MAJOR BUGFIX: remove infinite loop.
Oops
This commit is contained in:
parent
ea6476aef7
commit
c05ff1591f
1 changed files with 1 additions and 1 deletions
|
@ -3239,7 +3239,7 @@ struct obj *
|
|||
cursed_unchanger()
|
||||
{
|
||||
struct obj *otmp;
|
||||
for(otmp = invent; otmp; otmp->nobj){
|
||||
for(otmp = invent; otmp; otmp = otmp->nobj){
|
||||
if(otmp->owornmask && item_has_property(otmp, UNCHANGING) && otmp->cursed)
|
||||
return otmp;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue