# HG changeset patch # User Ritor1 # Date 1377491950 -21600 # Node ID b870630761dffe301757e75062543e1f61dbb500 # Parent b330df6a2183231ad51fedaea75e18c0d40cd814 m diff -r b330df6a2183 -r b870630761df LOD.h --- a/LOD.h Sun Aug 11 12:09:33 2013 +0600 +++ b/LOD.h Mon Aug 26 10:39:10 2013 +0600 @@ -168,8 +168,9 @@ inline struct Texture *GetTexture(int idx) { assert(idx < 1000); - if (idx == -1) return nullptr; // we need to return dummy texture here - return pTextures + idx; + if (idx == -1) + return nullptr; // we need to return dummy texture here + return &pTextures[idx]; } diff -r b330df6a2183 -r b870630761df UI/UICharacter.cpp --- a/UI/UICharacter.cpp Sun Aug 11 12:09:33 2013 +0600 +++ b/UI/UICharacter.cpp Mon Aug 26 10:39:10 2013 +0600 @@ -185,7 +185,7 @@ unsigned int papredoll_dlhus[4]; unsigned int papredoll_dlhs[4]; unsigned int papredoll_dbods[5]; -int paperdoll_armor_texture[4][17][3]; +int paperdoll_armor_texture[4][17][3];//0x511294 //int paperdoll_array_51132C[165]; unsigned int papredoll_dlaus[5]; unsigned int papredoll_dlads[4];