♻️ 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

@ -1242,7 +1242,7 @@ void PlayEffect(int i, int mode)
return;
}
if (!calc_snd_position(monster[i]._mx, monster[i]._my, &lVolume, &lPan))
if (!calc_snd_position(monster[i].position.current.x, monster[i].position.current.y, &lVolume, &lPan))
return;
snd_play_snd(snd, lVolume, lPan);