diff --git a/src/openrct2/ReplayManager.cpp b/src/openrct2/ReplayManager.cpp index 783c838ec6..9ac73ae5b6 100644 --- a/src/openrct2/ReplayManager.cpp +++ b/src/openrct2/ReplayManager.cpp @@ -713,9 +713,9 @@ namespace OpenRCT2 if (serialiser.IsLoading()) { command.action = GameActions::Create(static_cast(actionType)); - Guard::Assert(command.action != nullptr); } + Guard::Assert(command.action != nullptr); command.action->Serialise(serialiser); return true;