Skip to content

Commit

Permalink
AGS: Fix Screenoverlay private initializer error
Browse files Browse the repository at this point in the history
  • Loading branch information
tag2015 committed Sep 29, 2024
1 parent 1142244 commit e30acb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/ags/engine/ac/screen_overlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ struct ScreenOverlay {
~ScreenOverlay();
ScreenOverlay &operator=(ScreenOverlay &&);

ScreenOverlay(const ScreenOverlay &) = default;
ScreenOverlay &operator=(const ScreenOverlay &) = default;

bool HasAlphaChannel() const {
return (_flags & kOver_AlphaChannel) != 0;
}
Expand Down Expand Up @@ -146,8 +149,6 @@ struct ScreenOverlay {

private:
void ResetImage();
ScreenOverlay(const ScreenOverlay &) = default;
ScreenOverlay &operator=(const ScreenOverlay &) = default;

int _flags = 0; // OverlayFlags
int _sprnum = 0; // sprite id
Expand Down

0 comments on commit e30acb3

Please sign in to comment.