inverted game mode ptr check

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
monroegm-disable-blank-issue-2
Guthrie Adams 4 years ago
parent 41a64b1346
commit 246f174528

@ -626,7 +626,7 @@ namespace EMotionFX
// Check if we are in game mode.
IEditor* editor = nullptr;
AzToolsFramework::EditorRequestBus::BroadcastResult(editor, &AzToolsFramework::EditorRequests::GetEditor);
inGameMode = editor && editor->IsInGameMode();
inGameMode = !editor || editor->IsInGameMode();
#endif
// Apply the motion extraction deltas to the character controller / entity transform for all entities.

Loading…
Cancel
Save