From 1cbe996831189bff7461bf0f3b609bec473974be Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 11 Jan 2010 22:50:44 -0800 Subject: [PATCH] Linux build fix (bug 3520 fallout). --- core/smn_gameconfigs.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/smn_gameconfigs.cpp b/core/smn_gameconfigs.cpp index b0bc5a3e..aa1a7aa4 100644 --- a/core/smn_gameconfigs.cpp +++ b/core/smn_gameconfigs.cpp @@ -150,9 +150,7 @@ static cell_t smn_GameConfGetAddress(IPluginContext *pCtx, const cell_t *params) pCtx->LocalToString(params[2], &key); if (!gc->GetAddress(key, &val)) - { - return NULL; - } + return 0; return (cell_t)val; }