Align AVA2 Windows behavior and improve mobile touch interactions
This commit is contained in:
@@ -797,7 +797,7 @@ void initeffect() {
|
||||
static PyObject* fly_Update(PyObject*, PyObject*) {
|
||||
static float flyingTime = 0.0f;
|
||||
flyingTime += ava2::GetGameFrameDelta();
|
||||
ava2::FlyingManager::Instance().Update(ava2::GetGameFrameDelta(), flyingTime);
|
||||
ava2::FlyingManager::Instance().Update(ava2::GetGameFrameDelta(),flyingTime,ava2::CPythonBackground::Instance().GetTerrain(),ava2::CPythonBackground::Instance().GetMapObjects(),[](float x,float z){return ava2::CPythonBackground::Instance().GetHeight(x,z);});
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user