From c19c607b145e330bb1e2393f5330733e40de3327 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 27 Jun 2007 01:55:18 +0000 Subject: [PATCH] fixed amb472 --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401031 --- core/smn_database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/smn_database.cpp b/core/smn_database.cpp index 344628fb..290e0a2a 100644 --- a/core/smn_database.cpp +++ b/core/smn_database.cpp @@ -663,7 +663,7 @@ static cell_t SQL_FetchFloat(IPluginContext *pContext, const cell_t *params) } cell_t *addr; - pContext->LocalToPhysAddr(params[5], &addr); + pContext->LocalToPhysAddr(params[3], &addr); *addr = (cell_t)res; return sp_ftoc(f); @@ -702,7 +702,7 @@ static cell_t SQL_FetchInt(IPluginContext *pContext, const cell_t *params) } cell_t *addr; - pContext->LocalToPhysAddr(params[5], &addr); + pContext->LocalToPhysAddr(params[3], &addr); *addr = (cell_t)res; return iv;