From 54cf0d305de6154d7daf4d3d6cd56c238cd8d8f0 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 6 Oct 2024 22:32:00 +0800 Subject: [PATCH] [bot] Missing `PLAYER_RECORDING_TYPE_*` macros --- bot/net/netgame.cpp | 1 + bot/net/netgame.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bot/net/netgame.cpp b/bot/net/netgame.cpp index 788b502..72f3c1d 100644 --- a/bot/net/netgame.cpp +++ b/bot/net/netgame.cpp @@ -2,6 +2,7 @@ #include "../main.h" #include "../../raknet/SocketDataEncryptor.h" #include "../mathutils.h" +#include "../unnamed_1.h" #define NETGAME_VERSION 4057 diff --git a/bot/net/netgame.h b/bot/net/netgame.h index 813e362..030714a 100644 --- a/bot/net/netgame.h +++ b/bot/net/netgame.h @@ -8,6 +8,10 @@ #define GAMESTATE_RESTARTING 5 +#define PLAYER_RECORDING_TYPE_NONE 0 +#define PLAYER_RECORDING_TYPE_DRIVER 1 +#define PLAYER_RECORDING_TYPE_ONFOOT 2 + //---------------------------------------------------- class CNetGame // size: 910 bytes