Reset file handle to NULL after close.

Fixes ticket:1745

2.3:r10480

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10577 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2010-04-15 03:02:40 +00:00 committed by Git SVN Gateway
parent 0f8ec1c2b0
commit 3cac32c84d
1 changed files with 1 additions and 0 deletions

View File

@ -1924,6 +1924,7 @@ UBYTE NETrecvFile(void)
if (currPos+bytesRead == fileSize) // last packet
{
PHYSFS_close(NetPlay.pMapFileHandle);
NetPlay.pMapFileHandle = NULL;
}
//return the percentage count