diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-11 22:36:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-11 22:36:16 +0200 |
commit | cdb3091046ecc70a0c13437a49c2941c11cc67f5 (patch) | |
tree | c7553a2977033f0dc9b1b9a5b6b3654277b4597c /serialize | |
parent | 8252635f7f49d0360a5b28dcfb73fc8fe36ad78e (diff) |
serialize: fix harmless warning
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/world-writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/world-writer.cpp b/serialize/world-writer.cpp index ddc9dffa..dc4961d4 100644 --- a/serialize/world-writer.cpp +++ b/serialize/world-writer.cpp @@ -385,7 +385,7 @@ void writer_state::serialize_scenery(const chunk& c, writer_t& s) if (!sc_exact) { write_entity_flags(s, sc); - fm_assert(sc.active || sc.delta == 0); + fm_assert(sc.active || sc.delta == 0.f); if (sc.frame <= 0xff) s << (uint8_t)sc.frame; else |