From bda15f185184ba4ae34e9e83709d88a2394c46d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20La=C5=A1tovi=C4=8Dka?= Date: Mon, 24 Jun 2024 18:19:03 +0200 Subject: [PATCH] fixed GetMapGoals null expr parameter --- 0.83/Omnibot/Common/gmBotLibrary.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/0.83/Omnibot/Common/gmBotLibrary.cpp b/0.83/Omnibot/Common/gmBotLibrary.cpp index c48463c89..ec1ff6ff5 100644 --- a/0.83/Omnibot/Common/gmBotLibrary.cpp +++ b/0.83/Omnibot/Common/gmBotLibrary.cpp @@ -581,6 +581,8 @@ int GM_CDECL GetMapGoals(gmThread *a_thread, Client *client) } } break; + case GM_NULL: + break; default: GM_EXCEPTION_MSG("expecting param %d as string or int or table, got %s", p, GM_THREAD_ARG->ParamTypeName(p)); return GM_EXCEPTION;