From dd1d48d69183fb6ea028cbc5f2370057b36b6a9b Mon Sep 17 00:00:00 2001 From: Sabian Roberts <31491602+sabianroberts@users.noreply.github.com> Date: Mon, 25 Sep 2023 02:48:35 +0100 Subject: [PATCH] Try to fix makefile --- binary/dlls/aghideandseek.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/binary/dlls/aghideandseek.h b/binary/dlls/aghideandseek.h index 08174007..513c67d2 100644 --- a/binary/dlls/aghideandseek.h +++ b/binary/dlls/aghideandseek.h @@ -4,11 +4,15 @@ //#if !defined(AFX_AGARENA_H__1929C55A_3034_4C89_8398_1F8243B83499__INCLUDED_) #define AFX_AGARENA_H__1929C55A_3034_4C89_8398_1F8243B83499__INCLUDED_ +#ifndef HIDEANDSEEK_H +#define HIDEANDSEEK_H #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 + + class AgHideandseek { typedef list AgWaitList; @@ -44,8 +48,8 @@ class AgHideandseek void ClientDisconnected(CBasePlayer* pPlayer); void ClientConnected(CBasePlayer* pPlayer); - // bool CanTakeDamage(); - //bool CanHaveItem(); + bool CanTakeDamage(); + bool CanHaveItem(); }; @@ -66,7 +70,8 @@ inline CBasePlayer* AgHideandseek::GetSeeker() return NULL; }; -/* + + inline bool AgHideandseek::CanTakeDamage() { return Playing == m_Status || PlayerDied == m_Status; @@ -76,7 +81,7 @@ inline bool AgHideandseek::CanHaveItem() { return Spawning == m_Status; } -*/ //#endif // !defined(AFX_AGARENA_H__1929C55A_3034_4C89_8398_1F8243B83499__INCLUDED_) +#endif // HIDEANDSEEK_H \ No newline at end of file