PM's fix: engclient_cmd is now client_cmd

This commit is contained in:
David Anderson
2004-06-28 18:54:58 +00:00
parent eeebee0e18
commit cf137b54ad
3 changed files with 20 additions and 1 deletions

View File

@@ -269,7 +269,8 @@ static cell AMX_NATIVE_CALL file_size(AMX *amx, cell *params) /* 1 param */
// Important update - now uses new handles
static cell AMX_NATIVE_CALL amx_fopen(AMX *amx, cell *params)
{
int len, i, j=-1;
unsigned int i;
int len, j=-1;
char *file = build_pathname("%s", get_amxstring(amx, params[1], 1, len));
char *flags = get_amxstring(amx, params[2], 0, len);
FILE *fp = fopen(file, flags);