1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-06 12:45:25 +01:00

Merge pull request #1671 from NeroOneTrueKing/patch-no-mon-gen-on-ucoord

Move the player out of the way when generating levels
This commit is contained in:
Chris-plus-alphanumericgibberish 2021-08-20 14:43:09 -04:00 committed by GitHub
commit 0ebed04507
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1209,6 +1209,7 @@ int portal;
if (Punished) unplacebc();
u.utrap = 0; /* needed in level_tele */
fill_pit(u.ux, u.uy);
u.ux = u.uy = 0; /* temporary */
u.ustuck = 0; /* idem */
u.uinwater = 0;
u.usubwater = 0;