[Scummvm-git-logs] scummvm master -> 69dc600d72a431bff7c0638e7fbd61cda08a7e26

sev- noreply at scummvm.org
Mon May 18 20:34:00 UTC 2026


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

Summary:
69dc600d72 MADS: Fix warning


Commit: 69dc600d72a431bff7c0638e7fbd61cda08a7e26
    https://github.com/scummvm/scummvm/commit/69dc600d72a431bff7c0638e7fbd61cda08a7e26
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-05-18T22:33:42+02:00

Commit Message:
MADS: Fix warning

Changed paths:
    engines/mads/madsv2/core/sprite.cpp


diff --git a/engines/mads/madsv2/core/sprite.cpp b/engines/mads/madsv2/core/sprite.cpp
index efe4ebe0635..2346a8e6160 100644
--- a/engines/mads/madsv2/core/sprite.cpp
+++ b/engines/mads/madsv2/core/sprite.cpp
@@ -59,7 +59,7 @@ void sprite_draw(SeriesPtr series, int id, Buffer *buf, int target_x, int target
 	#include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -78,7 +78,7 @@ void sprite_draw_scaled(SeriesPtr series, int id, Buffer *buf,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -97,7 +97,7 @@ void sprite_draw_3d_big(SeriesPtr series, int id, Buffer *buf, Buffer *attr,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -117,7 +117,7 @@ void sprite_draw_3d_scaled_big(SeriesPtr series, int id, Buffer *buf, Buffer *at
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -136,7 +136,7 @@ void sprite_draw_3d_x16(SeriesPtr series, int id, Buffer *buf, Buffer *attr,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -157,7 +157,7 @@ void sprite_draw_3d_scaled_x16(SeriesPtr series, int id,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -177,7 +177,7 @@ void sprite_draw_3d_big_x16(SeriesPtr series, int id, Buffer *buf, Buffer *attr,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -197,7 +197,7 @@ void sprite_draw_3d_big_x16(SeriesPtr series, int id,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -216,7 +216,7 @@ void sprite_draw_x16(SeriesPtr series, int id, Buffer * buf,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -235,7 +235,7 @@ void sprite_draw_interface(SeriesPtr series, int id, Buffer *buf,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -259,7 +259,7 @@ void sprite_draw_3d_scaled_to_attr
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -282,7 +282,7 @@ void sprite_draw_3d_scaled_mono(SeriesPtr series, int id,
 #include "mads/madsv2/core/sprite_0.cpp"
 }
 
-#undef three_d    
+#undef three_d
 #undef bresenham
 #undef packed_attr
 #undef translate
@@ -347,7 +347,7 @@ void FileSprite::load(Common::SeekableReadStream *src) {
 //====================================================================
 
 SeriesPtr sprite_series_load(const char *filename, int load_flags) {
-	register int count;
+	int count;
 	int len2;
 	int found, low_color, color_pointer;
 	byte *base_pointer;




More information about the Scummvm-git-logs mailing list