summaryrefslogtreecommitdiffhomepage
path: root/test/save.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-02 18:32:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-02 22:54:16 +0200
commitb93032e49cd69da178984f9912205d182f12f61e (patch)
tree2caae8f9db5776a39a731e8fb82ed30ec7fb6b06 /test/save.cpp
parent6abcd7d52cda334c58ec999d212491fc24f13c9d (diff)
now call script update
Diffstat (limited to 'test/save.cpp')
-rw-r--r--test/save.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/save.cpp b/test/save.cpp
index 675041c7..2df1d296 100644
--- a/test/save.cpp
+++ b/test/save.cpp
@@ -61,10 +61,10 @@ chunk& test_app::make_test_chunk(world& w, chunk_coords_ ch)
{ fm_assert(!e.active);
e.activate(e.index());
fm_assert(e.active);
- { auto index = e.index(); e.update(index, dt); }
+ { auto index = e.index(); e.update(eʹ, index, dt); }
fm_assert(e.frame != end);
for (int i = 0; i < 60*3; i++)
- { auto index = e.index(); e.update(index, dt); }
+ { auto index = e.index(); e.update(eʹ, index, dt); }
fm_assert(e.frame == 0);
fm_assert(!e.active);
}