diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-03 13:06:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-04 06:58:13 +0100 |
commit | 23a7a6defc0f30f8d053ae4ec65ed8046ce9f4e5 (patch) | |
tree | 80953de856eced8b2adbb35c9b77e3aa22b688b9 /test/serializer.cpp | |
parent | 12dddee0662ff9eb3ecaf655db8da22e33e9eb4f (diff) |
test/critter,src/timer: wip!
Diffstat (limited to 'test/serializer.cpp')
-rw-r--r-- | test/serializer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp index 61a5d509..e85f7892 100644 --- a/test/serializer.cpp +++ b/test/serializer.cpp @@ -53,8 +53,7 @@ chunk& test_app::make_test_chunk(world& w, chunk_coords_ ch) auto& e = *w.make_object<scenery>(w.make_id(), {ch, {K+3, K+1}}, door); const auto index = e.index(); const auto end = e.atlas->info().nframes-1; - constexpr auto second = Ns(1e9); - constexpr auto dt = Ns{second.stamp / 60}; + constexpr Ns dt = Second / 60; fm_assert(e.frame == end); { auto& x = std::get<door_scenery>(e.subtype); fm_assert(!x.active); |