diff options
| author | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 13:12:07 +0000 |
|---|---|---|
| committer | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 13:12:07 +0000 |
| commit | 7f746cfb51dfbcd0cc46b18dcafa7332697aaed6 (patch) | |
| tree | 969652817df5c09f85db3038a63405ccb9a9c55b /Source | |
| parent | 55e638b22eccb89c9ff026fb8ba0801957ad1a42 (diff) | |
| download | blackshades-7f746cfb51dfbcd0cc46b18dcafa7332697aaed6.tar.gz | |
add the missing padding
git-svn-id: svn://svn.icculus.org/blackshades/trunk@51 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Game.h | 2 | ||||
| -rw-r--r-- | Source/Serialize.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/Game.h b/Source/Game.h index 779015b..415974e 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -28,7 +28,7 @@ #include "AGL_DSp.h" #endif #include "MacInput.h" -#ifdef POOLOOPS +#ifndef MAC #include <SDL/SDL.h> #endif #include "Quaternions.h" diff --git a/Source/Serialize.cpp b/Source/Serialize.cpp index 0080ccc..a59c202 100644 --- a/Source/Serialize.cpp +++ b/Source/Serialize.cpp @@ -93,7 +93,9 @@ int ReadXYZ(int fd, int count, XYZ *xyz) int ReadTexturedTriangle(int fd, int count, TexturedTriangle *tt) { while (count--) { + short pad; ReadShort(fd, 3, tt->vertex); + ReadShort(fd, 1, &pad); /* crud */ ReadFloat(fd, 1, &(tt->r)); ReadFloat(fd, 1, &(tt->g)); ReadFloat(fd, 1, &(tt->b)); |
