diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-23 12:17:12 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-23 12:17:12 +0100 |
commit | ae9cc0570ad7bd7a879bea1447b12fa9284b569c (patch) | |
tree | d112ccc202f04b3d100652504ed8aaf39ed068da /editor/scenery-editor.cpp | |
parent | a737d0cea5ca8bdcd3f9cfc38e29f8a15992ca3e (diff) |
a
Diffstat (limited to 'editor/scenery-editor.cpp')
-rw-r--r-- | editor/scenery-editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scenery-editor.cpp b/editor/scenery-editor.cpp index b1871221..40742c8a 100644 --- a/editor/scenery-editor.cpp +++ b/editor/scenery-editor.cpp @@ -14,7 +14,7 @@ using rotation_t = std::underlying_type_t<enum rotation>; scenery_editor::scenery_::operator bool() const noexcept { - return proto; + return !!proto; } scenery_editor::scenery_editor() noexcept |