[Scummvm-git-logs] scummvm master -> 3a21c360197a39fa67c0cc05f6664f0012e4de2a

sev- noreply at scummvm.org
Sat Feb 4 15:44:42 UTC 2023


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:
3a21c36019 DIRECTOR: Fix build


Commit: 3a21c360197a39fa67c0cc05f6664f0012e4de2a
    https://github.com/scummvm/scummvm/commit/3a21c360197a39fa67c0cc05f6664f0012e4de2a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-04T16:44:32+01:00

Commit Message:
DIRECTOR: Fix build

Changed paths:
    engines/director/castmember.cpp


diff --git a/engines/director/castmember.cpp b/engines/director/castmember.cpp
index 1bd0c848077..4003231b20c 100644
--- a/engines/director/castmember.cpp
+++ b/engines/director/castmember.cpp
@@ -403,10 +403,10 @@ void BitmapCastMember::copyStretchImg(Graphics::Surface *surface, const Common::
 	}
 
 	if (g_director->_debugDraw & kDebugDrawCast) {
-		surface->frameRect(Common::Rect(0, 0, surface->w, surface->h), _wm->_colorWhite);
+		surface->frameRect(Common::Rect(0, 0, surface->w, surface->h), g_director->_wm->_colorWhite);
 
 		const Graphics::Font *font = FontMan.getFontByUsage(Graphics::FontManager::kConsoleFont);
-		font->drawString(surface, Common::String::format("%d", _castId), 2, 2, 10, _wm->_colorWhite);
+		font->drawString(surface, Common::String::format("%d", _castId), 2, 2, 10, g_director->_wm->_colorWhite);
 	}
 }
 




More information about the Scummvm-git-logs mailing list