mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +00:00
- Blood: Add VanillaMode()
test to previous commit.
This commit is contained in:
parent
e133985fa0
commit
a36cb45421
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ double GetWaveValue(unsigned int nPhase, int nType)
|
|||
case 2:
|
||||
return 1.0 - BobVal((nPhase / 128.) + 512);
|
||||
case 3:
|
||||
return (1. + BobVal(-512. + (nPhase / 64.))) * 0.5;
|
||||
return !VanillaMode() ? (1. + BobVal(-512. + (nPhase / 64.))) * 0.5 : BobVal(nPhase / 128.);
|
||||
}
|
||||
return nPhase;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue