[Scummvm-git-logs] scummvm master -> 175f5a67f67003cce1e5e840c71fc42e91a765b7

sev- sev at scummvm.org
Tue Feb 9 16:38:17 UTC 2021


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

Summary:
16fe17cf59 AGS: Added override keyword
175f5a67f6 AGS: Fix copy/paste error


Commit: 16fe17cf5905f3453eb1ee3283ceb7ba4fec1f09
    https://github.com/scummvm/scummvm/commit/16fe17cf5905f3453eb1ee3283ceb7ba4fec1f09
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-02-09T17:35:59+01:00

Commit Message:
AGS: Added override keyword

Changed paths:
    engines/ags/shared/util/stream.h


diff --git a/engines/ags/shared/util/stream.h b/engines/ags/shared/util/stream.h
index 281c56dcda..158557a831 100644
--- a/engines/ags/shared/util/stream.h
+++ b/engines/ags/shared/util/stream.h
@@ -149,7 +149,7 @@ public:
 		Close();
 	}
 
-	void Close() {
+	void Close() override {
 		if (_disposeAfterUse == DisposeAfterUse::YES)
 			delete _stream;
 		_stream = nullptr;


Commit: 175f5a67f67003cce1e5e840c71fc42e91a765b7
    https://github.com/scummvm/scummvm/commit/175f5a67f67003cce1e5e840c71fc42e91a765b7
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-02-09T17:36:16+01:00

Commit Message:
AGS: Fix copy/paste error

Changed paths:
    engines/ags/plugins/ags_sprite_font/ags_sprite_font.cpp


diff --git a/engines/ags/plugins/ags_sprite_font/ags_sprite_font.cpp b/engines/ags/plugins/ags_sprite_font/ags_sprite_font.cpp
index cf81fb5757..2f4c9e8df0 100644
--- a/engines/ags/plugins/ags_sprite_font/ags_sprite_font.cpp
+++ b/engines/ags/plugins/ags_sprite_font/ags_sprite_font.cpp
@@ -89,7 +89,7 @@ const char *AGSSpriteFont::AGS_GetPluginName() {
 }
 
 void AGSSpriteFont::AGS_EngineStartup(IAGSEngine *engine) {
-	engine = engine;
+	_engine = engine;
 
 	_engine->PrintDebugConsole("AGSSpriteFont: Init fixed width renderer");
 	_fontRenderer = new SpriteFontRenderer(engine);




More information about the Scummvm-git-logs mailing list