From a6473737a28f30810630c3fa2661aee236feca7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Thu, 25 Mar 2004 11:42:34 +0000 Subject: [PATCH] entity_set_model should 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 1afc79ef..37820ef6 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -131,7 +131,7 @@ native is_valid_ent(iIndex); native entity_set_origin(iIndex, Float:fNewOrigin[3]); /* Sets the model of an Entity. */ -native entity_set_model(iIndex, szModel[]); +native entity_set_model(iIndex, const szModel[]); /* Remove an entity from the world. */ native remove_entity(iIndex);