From a369a13bab3ca917e74f2639df0d7a7b88b4d48c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 16 Feb 2020 07:01:06 +0100 Subject: [PATCH] ULTIMA: Fix incorrect assignment --- engines/ultima/ultima8/gumps/gump.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/ultima/ultima8/gumps/gump.h b/engines/ultima/ultima8/gumps/gump.h index b11cb55c70b..9e42f6f42b6 100644 --- a/engines/ultima/ultima8/gumps/gump.h +++ b/engines/ultima/ultima8/gumps/gump.h @@ -90,14 +90,14 @@ public: //! Set the Gump's shape/frame inline void SetShape(Shape *shape, uint32 frameNum) { _shape = shape; - _frameNum = _frameNum; + _frameNum = frameNum; } void SetShape(FrameID frame, bool adjustsize = false); //! Set the Gump's frame inline void Set_frameNum(uint32 frameNum) { - _frameNum = _frameNum; + _frameNum = frameNum; } //! Init the gump and add it to parent; call after construction