mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
Update DUMB to revision b97e36954f873516c31c0a8c24054784f3c9d751
- Fixed portamento up effect when NNA channels are active SVN r4113 (trunk)
This commit is contained in:
parent
7edd64243b
commit
751983fccd
1 changed files with 4 additions and 4 deletions
|
@ -2266,11 +2266,11 @@ Yxy This uses a table 4 times larger (hence 4 times slower) than
|
||||||
playing = sigrenderer->playing[i];
|
playing = sigrenderer->playing[i];
|
||||||
if (!playing || playing->channel != channel) continue;
|
if (!playing || playing->channel != channel) continue;
|
||||||
}
|
}
|
||||||
if (channel->playing) {
|
if (playing) {
|
||||||
if ((v & 0xF0) == 0xF0)
|
if ((v & 0xF0) == 0xF0)
|
||||||
channel->playing->slide += (v & 15) << 4;
|
playing->slide += (v & 15) << 4;
|
||||||
else if ((v & 0xF0) == 0xE0)
|
else if ((v & 0xF0) == 0xE0)
|
||||||
channel->playing->slide += (v & 15) << 2;
|
playing->slide += (v & 15) << 2;
|
||||||
else if (i < 0 && sigdata->flags & IT_WAS_A_669)
|
else if (i < 0 && sigdata->flags & IT_WAS_A_669)
|
||||||
channel->portamento += v << 3;
|
channel->portamento += v << 3;
|
||||||
else if (i < 0)
|
else if (i < 0)
|
||||||
|
|
Loading…
Reference in a new issue