From 6645e5d4aa5512a0aa1cd93cbd5fdae8c483cdc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Fri, 13 Feb 2004 11:11:21 +0000 Subject: [PATCH] Fun (x) version 0.3 - small update to use "__linux__" define for linux builds, so pdata offsets get right. --- dlls/fun/fun.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/fun/fun.h b/dlls/fun/fun.h index 85e39b11..022957a3 100755 --- a/dlls/fun/fun.h +++ b/dlls/fun/fun.h @@ -1,5 +1,4 @@ // FUN MODULE TO DO HERE: http://www.amxmod.info/forums/viewtopic.php?t=37 -//#define FUN_LINUX // UNCOMMENT WHEN COMPILING FOR LINUX, OR PDATA OFFSETS WILL CRASH SERVER #include #include @@ -39,7 +38,7 @@ pfnmodule_engine_g* g_engModuleFunc; // These seem to be meta/amxmod related #define SETCLIENTLISTENING (*g_engfuncs.pfnVoice_SetClientListening) #define SF_NORESPAWN ( 1 << 30 )// !!!set this bit on guns and stuff that should never respawn. -#if defined FUN_LINUX +#if defined __linux__ #define CSMONEYOFFSET 115 + 5 #define CSDEATHSOFFSET 449 + 5 #else