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-861f7616d084master
parent
0f8ec1c2b0
commit
3cac32c84d
|
@ -1924,6 +1924,7 @@ UBYTE NETrecvFile(void)
|
|||
if (currPos+bytesRead == fileSize) // last packet
|
||||
{
|
||||
PHYSFS_close(NetPlay.pMapFileHandle);
|
||||
NetPlay.pMapFileHandle = NULL;
|
||||
}
|
||||
|
||||
//return the percentage count
|
||||
|
|
Loading…
Reference in New Issue