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:
Mark Olsen 2007-12-03 11:08:56 +00:00
parent c77d0a981a
commit ea76477982
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{