trap followup

Make the flags argument to dotrap() and mintrap() and the constants
passed to them all have consistent type: unsigned int.
This commit is contained in:
PatR
2022-02-24 12:17:21 -08:00
parent 6fa4fd46f7
commit ab2bcf4dac
6 changed files with 37 additions and 33 deletions

View File

@@ -1392,7 +1392,7 @@ dospinweb(void)
case ANTI_MAGIC:
case POLY_TRAP:
You("have triggered a trap!");
dotrap(ttmp, 0);
dotrap(ttmp, NO_TRAP_FLAGS);
return ECMD_TIME;
default:
impossible("Webbing over trap type %d?", ttmp->ttyp);