file mode fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4719 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-11-08 01:11:53 +00:00
parent b28974415c
commit 937e615e97
+1 -1
View File
@@ -1077,7 +1077,7 @@ struct vertmodel : model
bool loadshadows(const char *filename)
{
stream *f = opengzfile(filename, "rb9");
stream *f = opengzfile(filename, "rb");
if(!f) return false;
shadowheader hdr;
if(f->read(&hdr, sizeof(shadowheader))!=sizeof(shadowheader)) { delete f; return false; }