From 77f5d69d3a7a2acdeec7bb6c2a5d829cce1d5038 Mon Sep 17 00:00:00 2001 From: "zer0.k" <61156310+zer0k-z@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:26:18 +0700 Subject: [PATCH] Update ISource2GameClients::ProcessUserCmds return type (#189) --- public/eiface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/eiface.h b/public/eiface.h index 67c0d1bf..a1b35399 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -574,7 +574,7 @@ public: virtual void ClientSetupVisibility( CPlayerSlot slot, vis_info_t *visinfo ) = 0; // A block of CUserCmds has arrived from the user, decode them and buffer for execution during player simulation - virtual float ProcessUsercmds( CPlayerSlot slot, bf_read *buf, int numcmds, bool ignore, bool paused ) = 0; + virtual int ProcessUsercmds( CPlayerSlot slot, bf_read *buf, int numcmds, bool ignore, bool paused ) = 0; virtual bool IsPlayerSlotOccupied( CPlayerSlot slot ) = 0;