Don't use Host_Error() here. Use VFSTCP_Error().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2800 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c77d0a981a
commit
ea76477982
1 changed files with 1 additions and 1 deletions
|
@ -2208,7 +2208,7 @@ int VFSTCP_ReadBytes (struct vfsfile_s *file, void *buffer, int bytestoread)
|
|||
if (bytestoread > tf->readbuffered)
|
||||
bytestoread = tf->readbuffered;
|
||||
if (bytestoread < 0)
|
||||
Host_Error("VFSTCP_ReadBytes: negative size request\n");
|
||||
VFSTCP_Error(tf);
|
||||
|
||||
if (bytestoread > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue