[server/bot] Change lseek to fseek in n_fseek function

This commit is contained in:
RD42 2024-04-18 22:48:15 +08:00
parent b25e027cf7
commit e55ff78e60

View File

@ -630,7 +630,7 @@ static cell AMX_NATIVE_CALL n_fseek(AMX *amx, cell *params)
return 0;
} /* switch */
UNUSED_PARAM(amx);
return lseek(fileno((FILE*)params[1]),params[2],whence);
return fseek((FILE*)params[1], params[2], whence);
}
/* bool: fexist(const name[]) */