mirror of https://github.com/minetest/minetest.git
Whoops, gotta use what's available in master
This commit is contained in:
parent
b416cec314
commit
b928bc6612
|
@ -86,8 +86,7 @@ void benchUpdateObjectPositions(Catch::Benchmark::Chronometer &meter)
|
|||
meter.measure([&] {
|
||||
size_t i = 0;
|
||||
mgr.step(0,[&](ServerActiveObject* obj){
|
||||
mgr.updateObjectPosition(obj->getId(), obj->getBasePosition(), newPositions.at(i));
|
||||
++i;
|
||||
obj->setBasePosition(newPositions.at(i++));
|
||||
});
|
||||
});
|
||||
mgr.clear();
|
||||
|
|
Loading…
Reference in New Issue