♻️ add possition points to monsters

This commit is contained in:
Anders Jenbo 2021-04-24 20:29:52 +02:00
commit efbe8a8338
16 changed files with 560 additions and 698 deletions

View file

@ -2819,8 +2819,8 @@ void MonstCheckDoors(int m)
int i, oi;
int dpx, dpy, mx, my;
mx = monster[m]._mx;
my = monster[m]._my;
mx = monster[m].position.current.x;
my = monster[m].position.current.y;
if (dObject[mx - 1][my - 1] != 0
|| dObject[mx][my - 1] != 0
|| dObject[mx + 1][my - 1] != 0