diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-07-28 23:13:49 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | 71fa444424be52b9b2c3fd508ad663923d28a62c (patch) | |
| tree | ea900efcb439d1889255e0c598dbf455608f36a4 /src/win95/obchunk.cpp | |
| parent | f759e35cd8399d8bffea4d59c5822db8f1002409 (diff) | |
Removed headers that were accidently checked in.
Lots of compiling.
Diffstat (limited to 'src/win95/obchunk.cpp')
| -rw-r--r-- | src/win95/obchunk.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/win95/obchunk.cpp b/src/win95/obchunk.cpp index 86e8857..e90c7ce 100644 --- a/src/win95/obchunk.cpp +++ b/src/win95/obchunk.cpp @@ -228,7 +228,8 @@ BOOL Object_Chunk::assoc_with_shape_no(File_Chunk *fc) List<Chunk *> chlst; fc->lookup_child("REBSHAPE",chlst); - for (LIF<Chunk *> l(&chlst); !l.done(); l.next()) + LIF<Chunk *> l(&chlst); + for (; !l.done(); l.next()) { shp = (Shape_Chunk *)l(); shphd = shp->get_header(); @@ -1233,6 +1234,8 @@ Object_Track_Chunk2::Object_Track_Chunk2 (Chunk_With_Children * parent,const cha Object_Track_Chunk2::Object_Track_Chunk2 (Chunk_With_Children * parent,const char * data, size_t /*size*/) : Chunk (parent, "OBJTRAK2") { + int i; + num_sections=*(int*)data; data+=4; @@ -1241,7 +1244,7 @@ Object_Track_Chunk2::Object_Track_Chunk2 (Chunk_With_Children * parent,const cha else sections=0; - for(int i=0;i<num_sections;i++) + for(i=0;i<num_sections;i++) { sections[i]=*(ChunkTrackSection*)data; data+=sizeof(ChunkTrackSection); |
