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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user