Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
This commit is contained in:
@@ -1216,7 +1216,7 @@ void InputService::Update()
|
||||
{
|
||||
for (auto i = Axes.Begin(); i.IsNotEnd(); ++i)
|
||||
{
|
||||
if (Math::NotNearEqual(i->Value.Value, i->Value.PrevValue))
|
||||
if (i->Value.Value != i->Value.PrevValue)
|
||||
{
|
||||
Input::AxisValueChanged(i->Key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user