u.utraptype, TT_BEARTRAP

Add 'FIXME' fix by entrez to change TT_BEARTRAP to non-zero.

Increments EDITLEVEL, invalidating existing save and bones files.
This commit is contained in:
PatR
2022-04-27 11:04:12 -07:00
parent f6149904c3
commit d194459c7d
5 changed files with 14 additions and 13 deletions

View File

@@ -1510,6 +1510,9 @@ trapmove(int x, int y, /* targetted destination, <u.ux+u.dx,u.uy+u.dy> */
buried_ball_to_punishment();
}
break;
case TT_NONE:
impossible("trapmove: trapped in nothing?");
break;
default:
impossible("trapmove: stuck in unknown trap? (%d)",
(int) u.utraptype);