Mercurial > mm7
diff mm7_1.cpp @ 306:e33f5a1cdc46
Food status
author | Nomad |
---|---|
date | Tue, 19 Feb 2013 22:06:49 +0200 |
parents | cc8e4dc397ec |
children | 53b9b07ab9ec 2a09e1d6fc8f |
line wrap: on
line diff
--- a/mm7_1.cpp Tue Feb 19 21:50:33 2013 +0200 +++ b/mm7_1.cpp Tue Feb 19 22:06:49 2013 +0200 @@ -2397,8 +2397,9 @@ _this = ecx0; var88 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); v82 = pFontComic; - if ( v1->uItemID ) - { + if (!v1->uItemID) + return; + v79.Hint = 0; v79.uFrameWidth = 384; v79.uFrameHeight = 180; @@ -2784,7 +2785,6 @@ } sprintf(v64, v46, v50, v55, v60); goto LABEL_65; - } } // 4E455C: using guessed type int dword_4E455C; // 506128: using guessed type int areWeLoadingTexture; @@ -3092,7 +3092,7 @@ { v108 = (unsigned __int16 *)pDesc.lpSurface; a2 = (Player *)v124; - if ( v124 < v119 ) + if ( v124 < v119 ) { v109 = 2 * pRenderer->uTargetSurfacePitch; v29 = (int)a4;