From 7ccecdfd4a439a2f66e9d00c467336b40858e0e7 Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Fri, 24 Nov 2023 14:27:11 -0500 Subject: [PATCH] if notaire break. --- SQCSim2021/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SQCSim2021/engine.cpp b/SQCSim2021/engine.cpp index fa82d4d..2929925 100644 --- a/SQCSim2021/engine.cpp +++ b/SQCSim2021/engine.cpp @@ -1337,6 +1337,8 @@ void Engine::Render(float elapsedTime) { case OUTPUT: if (Deserialize(&out, pck, &bsize)) { RemotePlayer* r = (RemotePlayer*)m_players[out.id]; + if (!r) + break; r->Feed(out); } break;