[Scummvm-git-logs] scummvm master -> 7048e3b861e4fedb9454a613125d2796bf2017bc
mduggan
mgithub at guarana.org
Sun Dec 27 02:52:28 UTC 2020
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:
7048e3b861 ULTIMA8: Fix one more way I made old compilers unhappy
Commit: 7048e3b861e4fedb9454a613125d2796bf2017bc
https://github.com/scummvm/scummvm/commit/7048e3b861e4fedb9454a613125d2796bf2017bc
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-12-27T11:52:10+09:00
Commit Message:
ULTIMA8: Fix one more way I made old compilers unhappy
Changed paths:
engines/ultima/ultima8/gumps/weasel_gump.cpp
diff --git a/engines/ultima/ultima8/gumps/weasel_gump.cpp b/engines/ultima/ultima8/gumps/weasel_gump.cpp
index 31b59b3031..317abbf443 100644
--- a/engines/ultima/ultima8/gumps/weasel_gump.cpp
+++ b/engines/ultima/ultima8/gumps/weasel_gump.cpp
@@ -526,7 +526,7 @@ void WeaselGump::updateItemDisplay() {
Gump *icon = new Gump(105 - frame->_xoff, 120 - frame->_yoff, 200, 200);
icon->SetShape(shape, shapeinfo->_weaponInfo->_displayGumpFrame);
icon->UpdateDimsFromShape();
- icon->setRelativePosition(Position::CENTER);
+ icon->setRelativePosition(CENTER);
icon->InitGump(_ui, false);
icon->SetIndex(kIconItem);
More information about the Scummvm-git-logs
mailing list