# HG changeset patch # User Nomad # Date 1352177888 -7200 # Node ID 142de719a3ea029d379c887d2ba450f5cbeb48cd # Parent 3b5267621a5b62a16ce51d192270b83136224d1a LOD initializations diff -r 3b5267621a5b -r 142de719a3ea LOD.h --- 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]; diff -r 3b5267621a5b -r 142de719a3ea mm7_3.cpp --- 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;