diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 13:45:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 16:30:25 +0100 |
commit | 90b214c0a4b3c91ad021c9923f1b8a69ccbe88e8 (patch) | |
tree | ba018d88faee760820c7525862101c1bb66284bb /src/scenery.cpp | |
parent | ccf843360374c2f91d4d9420e4d2ccd73a03e703 (diff) |
src: add missing scenery check in tile_ref::operator==
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r-- | src/scenery.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp index 5f82e151..23967af8 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -108,4 +108,13 @@ bool scenery::activate(const anim_atlas& atlas) return false; } +#ifdef __GNUG__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wfloat-equal" +#endif +bool scenery::operator==(const scenery&) const noexcept = default; +#ifdef __GNUG__ +#pragma GCC diagnostic pop +#endif + } // namespace floormat |