- Set the CMAKE_MODULE_DIR so that we can use find_package instead of include for FluidSynth.
- Fixed: FadeTo() accepted parameters out of range. - Fixed: "Enable autosaves" menu option didn't handle all possible values of disableautosave. SVN r3280 (trunk)
This commit is contained in:
parent
5c81cf20ba
commit
f6ddad95b7
4 changed files with 12 additions and 3 deletions
|
|
@ -2399,7 +2399,7 @@ int DLevelScript::DoSpawnSpotFacing (int type, int spot, int tid, bool force)
|
|||
|
||||
void DLevelScript::DoFadeTo (int r, int g, int b, int a, fixed_t time)
|
||||
{
|
||||
DoFadeRange (0, 0, 0, -1, r, g, b, a, time);
|
||||
DoFadeRange (0, 0, 0, -1, clamp(r, 0, 255), clamp(g, 0, 255), clamp(b, 0, 255), clamp(a, 0, FRACUNIT), time);
|
||||
}
|
||||
|
||||
void DLevelScript::DoFadeRange (int r1, int g1, int b1, int a1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue