From 5967f7d9519b646e30dd81091664d6f97e3c0153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Wed, 24 Mar 2004 08:53:40 +0000 Subject: [PATCH] fixed entity_set_string to take const strings --- plugins/include/engine.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index 88647d78..1afc79ef 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -104,7 +104,7 @@ native entity_set_vector(iIndex, iKey, Float:vNewVector[3]); native entity_get_edict(iIndex, iKey); native entity_set_edict(iIndex, iKey, iNewIndex); native entity_get_string(iIndex, iKey, szReturn[], iRetLen); -native entity_set_string(iIndex, iKey, szNewVal[]); +native entity_set_string(iIndex, iKey, const szNewVal[]); native entity_get_byte(iIndex, iKey); native entity_set_byte(iIndex, iKey, iVal);