Implemented amb245 - precache_sound() now returns whatever the engine function returns instead of just returning 1
This commit is contained in:
parent
006396bc92
commit
5309189602
@ -2702,9 +2702,7 @@ static cell AMX_NATIVE_CALL precache_sound(AMX *amx, cell *params) /* 1 param */
|
||||
int len;
|
||||
char* sptemp = get_amxstring(amx, params[1], 0, len);
|
||||
|
||||
PRECACHE_SOUND((char*)STRING(ALLOC_STRING(sptemp)));
|
||||
|
||||
return 1;
|
||||
return PRECACHE_SOUND((char*)STRING(ALLOC_STRING(sptemp)));
|
||||
}
|
||||
|
||||
static cell AMX_NATIVE_CALL precache_model(AMX *amx, cell *params) /* 1 param */
|
||||
|
Loading…
Reference in New Issue
Block a user