From b6fa69cedb9d2b5117afe092b1c600f9f04c6a77 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Mon, 14 Feb 2011 19:41:32 +0100 Subject: the server shows the disconnect reason of clients now --- src/game/server/player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/server/player.h') diff --git a/src/game/server/player.h b/src/game/server/player.h index d91bc346..50f1c1a0 100644 --- a/src/game/server/player.h +++ b/src/game/server/player.h @@ -30,7 +30,7 @@ public: void OnDirectInput(CNetObj_PlayerInput *NewInput); void OnPredictedInput(CNetObj_PlayerInput *NewInput); - void OnDisconnect(); + void OnDisconnect(const char *pReason); void KillCharacter(int Weapon = WEAPON_GAME); CCharacter *GetCharacter(); -- cgit 1.4.1