[Scummvm-git-logs] scummvm master -> d3a64b7cc5c47a6a505323d80c288111822b3715

dwatteau noreply at scummvm.org
Thu Sep 29 16:44:44 UTC 2022


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:
d3a64b7cc5 SCUMM: JANITORIAL: Rename kNewInavlidBox to kNewInvalidBox


Commit: d3a64b7cc5c47a6a505323d80c288111822b3715
    https://github.com/scummvm/scummvm/commit/d3a64b7cc5c47a6a505323d80c288111822b3715
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-09-29T18:38:27+02:00

Commit Message:
SCUMM: JANITORIAL: Rename kNewInavlidBox to kNewInvalidBox

Changed paths:
    engines/scumm/actor.h
    engines/scumm/scumm.cpp


diff --git a/engines/scumm/actor.h b/engines/scumm/actor.h
index 72a8a12152c..e87c758a88f 100644
--- a/engines/scumm/actor.h
+++ b/engines/scumm/actor.h
@@ -77,7 +77,7 @@ struct AdjustBoxResult {	/* Result type of AdjustBox functions */
 
 enum {
 	kOldInvalidBox = 255,	// For small header games
-	kNewInavlidBox = 0
+	kNewInvalidBox = 0
 };
 
 class Actor : public Common::Serializable {
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index feb5682697b..1f82b3f85b8 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1589,7 +1589,7 @@ void ScummEngine::resetScumm() {
 	_cursor.animate = 1;
 
 	// Allocate and Initialize actors
-	Actor::kInvalidBox = ((_game.features & GF_SMALL_HEADER) ? kOldInvalidBox : kNewInavlidBox);
+	Actor::kInvalidBox = ((_game.features & GF_SMALL_HEADER) ? kOldInvalidBox : kNewInvalidBox);
 	_actors = new Actor * [_numActors];
 	_sortedActors = new Actor * [_numActors];
 	for (i = 0; i < _numActors; ++i) {




More information about the Scummvm-git-logs mailing list