so it starts moving when reenabled without pressing any key
from
Code: Select all
// If the camera isn't the active camera, and receiving input, then don't process it.
if(!camera->isInputReceiverEnabled())
return;
Code: Select all
// If the camera isn't the active camera, and receiving input, then don't process it.
if(!camera->isInputReceiverEnabled())
{
for (u32 i=0; i<KeyMap.size(); ++i)
{
CursorKeys[KeyMap[i].Action] = false;
}
return;
}