[Scummvm-git-logs] scummvm master -> 4faac7acde67326c3fba804624b57bcf960f7188

bluegr noreply at scummvm.org
Tue Sep 10 14:36:33 UTC 2024


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:
4faac7acde JANITORIAL: WATCHMAKER: Fix environment typos


Commit: 4faac7acde67326c3fba804624b57bcf960f7188
    https://github.com/scummvm/scummvm/commit/4faac7acde67326c3fba804624b57bcf960f7188
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-10T17:36:30+03:00

Commit Message:
JANITORIAL: WATCHMAKER: Fix environment typos

Changed paths:
    engines/watchmaker/3d/geometry.cpp
    engines/watchmaker/render.h


diff --git a/engines/watchmaker/3d/geometry.cpp b/engines/watchmaker/3d/geometry.cpp
index 77812cac140..6d6c724aedf 100644
--- a/engines/watchmaker/3d/geometry.cpp
+++ b/engines/watchmaker/3d/geometry.cpp
@@ -2320,7 +2320,7 @@ void t3dSetFaceVisibility(t3dMESH *mesh, t3dCAMERA *cam) {
 		} else
 			T2 = -1;
 
-		if (Material->hasFlag(T3D_MATERIAL_ENVIROMENT)) {                                        // se ha l'enviroment
+		if (Material->hasFlag(T3D_MATERIAL_ENVIRONMENT)) {                                       // se ha l'environnement
 			t3dM3X3F    m;
 			t3dMatMul(&m, &mesh->Matrix, &t3dCurViewMatrix);
 
diff --git a/engines/watchmaker/render.h b/engines/watchmaker/render.h
index 46a37ca95c7..677270c6d44 100644
--- a/engines/watchmaker/render.h
+++ b/engines/watchmaker/render.h
@@ -36,7 +36,7 @@ namespace Watchmaker {
 #define T3D_MATERIAL_ADDITIVE           (1<<2)          // additive (25-49)
 #define T3D_MATERIAL_GLASS              (1<<3)          // glass (50-74)
 #define T3D_MATERIAL_BOTTLE             (1<<4)          // bottle (75-100)
-#define T3D_MATERIAL_ENVIROMENT         (1<<5)          // enviroment
+#define T3D_MATERIAL_ENVIRONMENT        (1<<5)          // environment
 #define T3D_MATERIAL_SKY                (1<<6)          // sky
 #define T3D_MATERIAL_NOLIGHTMAP         (1<<7)          // no lightmap
 #define T3D_MATERIAL_MOVIE              (1<<8)          // with movie




More information about the Scummvm-git-logs mailing list