Mercurial > might-and-magic-trilogy
changeset 103:142de719a3ea
LOD initializations
author | Nomad |
---|---|
date | Tue, 06 Nov 2012 06:58:08 +0200 |
parents | 3b5267621a5b |
children | 62772029b56d 9a99c386885a |
files | LOD.h mm7_3.cpp |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/LOD.h Tue Nov 06 06:42:58 2012 +0200 +++ b/LOD.h Tue Nov 06 06:58:08 2012 +0200 @@ -20,6 +20,12 @@ #pragma pack(push, 1) struct FileHeader { + inline FileHeader() + { + memset(array_0000B0, 0, 28); + memset(array_0000CC, 0, 52); + } + void Reset(); unsigned __int8 pSignature[4];
--- a/mm7_3.cpp Tue Nov 06 06:42:58 2012 +0200 +++ b/mm7_3.cpp Tue Nov 06 06:58:08 2012 +0200 @@ -12907,8 +12907,6 @@ //----- (0043F9E1) -------------------------------------------------------- void stru170_stru2::_43F9E1(__int16 x, int y, __int16 z, int w) { - __debugbreak(); - _viewport_space_y = y; _viewport_space_w = w;