Implemented amb245 - precache_sound() now returns whatever the engine function returns instead of just returning 1

This commit is contained in:
Scott Ehlert 2007-05-04 01:38:30 +00:00
parent 006396bc92
commit 5309189602

View File

@ -2702,9 +2702,7 @@ static cell AMX_NATIVE_CALL precache_sound(AMX *amx, cell *params) /* 1 param */
int len; int len;
char* sptemp = get_amxstring(amx, params[1], 0, len); char* sptemp = get_amxstring(amx, params[1], 0, len);
PRECACHE_SOUND((char*)STRING(ALLOC_STRING(sptemp))); return PRECACHE_SOUND((char*)STRING(ALLOC_STRING(sptemp)));
return 1;
} }
static cell AMX_NATIVE_CALL precache_model(AMX *amx, cell *params) /* 1 param */ static cell AMX_NATIVE_CALL precache_model(AMX *amx, cell *params) /* 1 param */