♻️ add possition points to monsters
This commit is contained in:
parent
7912e510f0
commit
efbe8a8338
16 changed files with 560 additions and 698 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue