mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix plugin buttons not drawing text
This commit is contained in:
@@ -107,7 +107,7 @@ public:
|
||||
ImageId() = default;
|
||||
|
||||
explicit constexpr ImageId(ImageIndex index)
|
||||
: _index(index)
|
||||
: _index(index == INDEX_UNDEFINED ? ImageIndexUndefined : index)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
|
||||
bool HasValue() const
|
||||
{
|
||||
return GetIndex() != INDEX_UNDEFINED;
|
||||
return GetIndex() != ImageIndexUndefined;
|
||||
}
|
||||
|
||||
bool HasPrimary() const
|
||||
|
||||
Reference in New Issue
Block a user