Fix compiler error caused by merge.

Thanks @ Maksym for report.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6152 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2020-11-04 23:32:24 +00:00
parent 6d16303add
commit 01920bf808

@ -89,11 +89,9 @@ bool CSceneNodeAnimatorCameraFPS::OnEvent(const SEvent& evt)
} }
} }
break; break;
case EET_MOUSE_INPUT_EVENT:
HadMouseEvent = true;
return true;
case EET_MOUSE_INPUT_EVENT: case EET_MOUSE_INPUT_EVENT:
HadMouseEvent = true;
if ( evt.MouseInput.Event == EMIE_MOUSE_ENTER_CANVAS && CursorControl) if ( evt.MouseInput.Event == EMIE_MOUSE_ENTER_CANVAS && CursorControl)
{ {
CursorControl->setPosition(0.5f, 0.5f); CursorControl->setPosition(0.5f, 0.5f);