diff options
| author | Steven Fuller <relnev@icculus.org> | 2008-05-03 22:18:51 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | e3070e708816c3a6ab61816c9cd0e242763b6aa2 (patch) | |
| tree | b01a3a27f42f1c91af3bd726112632c77324cb72 /src/win95/mishchnk.cpp | |
| parent | d5c94a666b1e6049b6364863aa8c68d62a1310dd (diff) | |
Removed UseOldChunkLoader.
Diffstat (limited to 'src/win95/mishchnk.cpp')
| -rw-r--r-- | src/win95/mishchnk.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/win95/mishchnk.cpp b/src/win95/mishchnk.cpp index 4c92dd7..649eed2 100644 --- a/src/win95/mishchnk.cpp +++ b/src/win95/mishchnk.cpp @@ -396,13 +396,6 @@ File_Chunk::File_Chunk(const char * file_name) return; } - #if UseOldChunkLoader - if (strncmp (id_buffer, "REBINFLF", 8)) { - error_code = CHUNK_FAILED_ON_LOAD_NOT_RECOGNISED; - fclose(rif_file); - return; - } - #else /* KJL 16:46:14 19/09/98 - check for a compressed rif */ if (!strncmp (id_buffer, COMPRESSED_RIF_IDENTIFIER, 8)) { @@ -414,7 +407,7 @@ File_Chunk::File_Chunk(const char * file_name) fclose(rif_file); return; } - #endif + buffer = new char [file_size]; /* KJL 17:57:44 19/09/98 - if the rif is compressed, we must load the whole |
