[Scummvm-git-logs] scummvm master -> 0856d131c52b1b4c64dca17654b13761d7e1cecf

sev- noreply at scummvm.org
Tue Jan 17 00:21:36 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0856d131c5 TETRAEDGE: Fix compilation for some platforms


Commit: 0856d131c52b1b4c64dca17654b13761d7e1cecf
    https://github.com/scummvm/scummvm/commit/0856d131c52b1b4c64dca17654b13761d7e1cecf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-17T01:20:59+01:00

Commit Message:
TETRAEDGE: Fix compilation for some platforms

Changed paths:
    engines/tetraedge/te/te_curve_anim2.h


diff --git a/engines/tetraedge/te/te_curve_anim2.h b/engines/tetraedge/te/te_curve_anim2.h
index 5f7103f3d79..7f9fd6e8a7e 100644
--- a/engines/tetraedge/te/te_curve_anim2.h
+++ b/engines/tetraedge/te/te_curve_anim2.h
@@ -28,7 +28,7 @@
 namespace Tetraedge {
 
 template<class T> static T linearInterpolation(T &obj1, T &obj2, double amount) {
-	amount = CLIP(amount, 0.0, 1.0);
+	amount = CLIP<double>(amount, 0.0, 1.0);
 	return (obj1 * (1.0 - amount)) + (obj2 * amount);
 }
 




More information about the Scummvm-git-logs mailing list