SCUMM: JANITORIAL: Rename kNewInavlidBox to kNewInvalidBox

This commit is contained in:
Donovan Watteau 2022-09-29 18:38:27 +02:00
parent 27d71f49af
commit d3a64b7cc5
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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) {