diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index f05e1634..0fcdee2c 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 3 #define VERSION_PATCH 0 -#define VERSION_BUILD 11575 +#define VERSION_BUILD 11576 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/VisualNovel.cpp b/Adventures in Lestoria/VisualNovel.cpp index 343aad00..5ef53f41 100644 --- a/Adventures in Lestoria/VisualNovel.cpp +++ b/Adventures in Lestoria/VisualNovel.cpp @@ -257,7 +257,7 @@ void VisualNovel::Draw(const uint8_t backgroundAlpha){ if(backgroundFilename!=""){ float alpha=backgroundAlpha/255.f; if(transitionTime>0){ - alpha=alpha*util::lerp(0,1,1-(transitionTime/maxTransitionTime)); + alpha=alpha*util::lerp(0.f,1.f,1.f-(transitionTime/maxTransitionTime)); } if(prevBackgroundFilename!=""){ game->DrawDecal({0,-prevBackgroundScrollAmt},GFX["story_background_image_location"_S+prevBackgroundFilename].Decal(),{1.f,1.f},{255,255,255,backgroundAlpha}); diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 10df63c4..566f3f11 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ