[Scummvm-git-logs] scummvm master -> 33f52a88439489badcb3ab1476f4a5366966fa73

bluegr noreply at scummvm.org
Fri Aug 2 14:13:58 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:
33f52a8843 JANITORIAL: DM: Fix typos in comments


Commit: 33f52a88439489badcb3ab1476f4a5366966fa73
    https://github.com/scummvm/scummvm/commit/33f52a88439489badcb3ab1476f4a5366966fa73
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-08-02T17:13:54+03:00

Commit Message:
JANITORIAL: DM: Fix typos in comments

Changed paths:
    engines/dm/eventman.h
    engines/dm/gfx.cpp


diff --git a/engines/dm/eventman.h b/engines/dm/eventman.h
index b3d02e7351d..16d9db4c8c1 100644
--- a/engines/dm/eventman.h
+++ b/engines/dm/eventman.h
@@ -256,7 +256,7 @@ public:
 	/**
 	* Upon encountering an event type for which the grab parameter is not null, the function
 	* will return with the event type, passes the event to the grab desitination and returns without
-	* processing the rest of the events into commands accoring to the current keyboard and mouse input.
+	* processing the rest of the events into commands according to the current keyboard and mouse input.
 	* If there are no more events, it returns with Common::EVENT_INVALID.
 	*/
 	Common::EventType processInput(Common::Event *grabKey = nullptr, Common::Event *grabMouseClick = nullptr);
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp
index f189df2d706..8f4894cd016 100644
--- a/engines/dm/gfx.cpp
+++ b/engines/dm/gfx.cpp
@@ -3457,12 +3457,12 @@ T0115077_DrawSecondHalfSquareCreature:
 				AL_4_nativeBitmapIndex++; /* Skip the front image */
 				derivedBitmapIndex += 2;
 				if (getFlag(creatureGraphicInfoRed, kDMCreatureMaskSide)) {
-					AL_4_nativeBitmapIndex++; /* If the creature has a side image, it preceeds the attack image */
+					AL_4_nativeBitmapIndex++; /* If the creature has a side image, it precedes the attack image */
 					derivedBitmapIndex += 2;
 				}
 
 				if (getFlag(creatureGraphicInfoRed, kDMCreatureMaskBack)) {
-					AL_4_nativeBitmapIndex++; /* If the creature has a back image, it preceeds the attack image */
+					AL_4_nativeBitmapIndex++; /* If the creature has a back image, it precedes the attack image */
 					derivedBitmapIndex += 2;
 				}
 			} else {
@@ -3471,7 +3471,7 @@ T0115077_DrawSecondHalfSquareCreature:
 				if (useCreatureBackBitmap) {
 					useFlippedHorizontallyCreatureFrontImage = false;
 					if (getFlag(creatureGraphicInfoRed, kDMCreatureMaskSide)) {
-						AL_4_nativeBitmapIndex += 2; /* If the creature has a side image, it preceeds the back image */
+						AL_4_nativeBitmapIndex += 2; /* If the creature has a side image, it precedes the back image */
 						derivedBitmapIndex += 4;
 					} else {
 						AL_4_nativeBitmapIndex++; /* If the creature does not have a side image, the back image follows the front image */




More information about the Scummvm-git-logs mailing list