From 558f64d84deba4b2bb43160ab3449b76e254a0bb Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 28 Jul 2024 22:49:57 +0800 Subject: [PATCH] [saco] Implement/match `CGame::GetWeaponModelIDFromWeapon(...)` --- saco/game/game.cpp | 7 +++++++ saco/game/game.h | 1 + 2 files changed, 8 insertions(+) diff --git a/saco/game/game.cpp b/saco/game/game.cpp index 8625e78..a7a64e4 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -108,6 +108,13 @@ BYTE CGame::sub_100A00F0() +//----------------------------------------------------------- + +int CGame::GetWeaponModelIDFromWeapon(int iWeaponID) +{ + return GameGetWeaponModelIDFromWeaponID(iWeaponID); +} + //----------------------------------------------------------- void CGame::InitGame() diff --git a/saco/game/game.h b/saco/game/game.h index fb8be5e..e6f69e3 100644 --- a/saco/game/game.h +++ b/saco/game/game.h @@ -36,6 +36,7 @@ private: public: + int GetWeaponModelIDFromWeapon(int iWeaponID); void StartGame(); void InitGame(); BOOL IsGameLoaded();