Mercurial > might-and-magic-trilogy
diff mm7_2.cpp @ 48:6a62c4005f0e
23.10.12
author | Ritor1 |
---|---|
date | Tue, 23 Oct 2012 17:33:33 +0600 |
parents | 916bec351934 |
children | 25fabc49627b |
line wrap: on
line diff
--- a/mm7_2.cpp Mon Oct 22 17:28:15 2012 +0600 +++ b/mm7_2.cpp Tue Oct 23 17:33:33 2012 +0600 @@ -166,11 +166,11 @@ v14 = pDialogueWindow; v15 = 80 - v11 * (100 - (signed int)pOutString) / v11 - (signed int)pOutString; v16 = v15 - HIDWORD(v15); - LODWORD(v15) = pDialogueWindow->field_38; - HIDWORD(v15) = v15 + pDialogueWindow->field_28; + LODWORD(v15) = pDialogueWindow->pStartingPosActiveItem; + HIDWORD(v15) = v15 + pDialogueWindow->pNumPresenceButton; v17 = (v16 >> 1) - v29 / 2 + 158; - v18 = -pDialogueWindow->field_28 < 0; - pOutString = (GUIFont *)pDialogueWindow->field_38; + v18 = -pDialogueWindow->pNumPresenceButton < 0; + pOutString = (GUIFont *)pDialogueWindow->pStartingPosActiveItem; if ( v18 ^ __OFSUB__((int)v15, HIDWORD(v15)) ) { v31 = 2; @@ -186,7 +186,7 @@ v17 = v23 + v22 - 1; v21->uW = v17; v24 = v30; - if ( pDialogueWindow->field_2C_focus_id != v31 ) + if ( pDialogueWindow->pCurrentPosActiveItem != v31 ) v24 = v28; _this.DrawText2(pFontArrus, 0, v23, v24, *v19, 3u); v14 = pDialogueWindow; @@ -194,7 +194,7 @@ ++v19; pOutString = (GUIFont *)((char *)pOutString + 1); } - while ( (signed int)pOutString < pDialogueWindow->field_28 + pDialogueWindow->field_38 ); + while ( (signed int)pOutString < pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem ); } } else @@ -403,11 +403,11 @@ return; } v8 = v14[0]; - if ( pDialogueWindow->field_2C_focus_id != 2 ) + if ( pDialogueWindow->pCurrentPosActiveItem != 2 ) v8 = v13[0]; _this.DrawText2(pFontArrus, 0, 0x92u, v8, pGlobalTXT_LocalizationStrings[60], 3u); v9 = v14[0]; - if ( pDialogueWindow->field_2C_focus_id != 3 ) + if ( pDialogueWindow->pCurrentPosActiveItem != 3 ) v9 = v13[0]; _this.DrawText2(pFontArrus, 0, 0xB0u, v9, pGlobalTXT_LocalizationStrings[244], 3u); } @@ -662,8 +662,8 @@ pOutString = (GUIFont *)(v9 * (100 - v85->GetMerchant()) / 100); if ( (signed int)pOutString < v9 / 3 ) pOutString = (GUIFont *)(v9 / 3); - v10 = v8->field_38; - v11 = v10 + v8->field_28; + v10 = v8->pStartingPosActiveItem; + v11 = v10 + v8->pNumPresenceButton; v86 = 0; if ( (signed int)v10 < v11 ) { @@ -678,7 +678,7 @@ } ++v10; } - while ( (signed int)v10 < v8->field_38 + v8->field_28 ); + while ( (signed int)v10 < v8->pStartingPosActiveItem + v8->pNumPresenceButton ); if ( v86 ) { sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[401], pOutString); @@ -687,9 +687,9 @@ if ( (149 - v89) / v86 > 32 ) pOutString = (GUIFont *)32; v14 = (149 - v86 * (signed int)pOutString - v89) / 2 - (signed int)pOutString / 2 + 162; - v89 = v8->field_38; + v89 = v8->pStartingPosActiveItem; v83 = v14; - if ( v89 < v89 + v8->field_28 ) + if ( v89 < v89 + v8->pNumPresenceButton ) { v86 = 2; do @@ -716,13 +716,13 @@ v16->uW = v22; v83 = v22; v23 = v84[0]; - if ( pDialogueWindow->field_2C_focus_id != v21 ) + if ( pDialogueWindow->pCurrentPosActiveItem != v21 ) v23 = v81; v79.DrawText2(pFontArrus, 0, v20, v23, Str[1], 3u); } - v24 = v8->field_28; + v24 = v8->pNumPresenceButton; ++v89; - v25 = v8->field_38 + v24; + v25 = v8->pStartingPosActiveItem + v24; ++v86; } while ( v89 < v25 ); @@ -768,7 +768,7 @@ if ( !sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win() ) return; v28 = *(int *)v84; - if ( pDialogueWindow->field_2C_focus_id != 2 ) + if ( pDialogueWindow->pCurrentPosActiveItem != 2 ) v28 = v81; sprintfex(&Dest, format_4E2DC8, v28); sprintfex(pTmpBuf2, pGlobalTXT_LocalizationStrings[178], pOutString); @@ -776,7 +776,7 @@ v90 = pFontArrus->CalcTextHeight(&Dest, &v79, 0, 0); strcat(&Dest, "\n \n"); v29 = *(int *)v84; - if ( pDialogueWindow->field_2C_focus_id != 3 ) + if ( pDialogueWindow->pCurrentPosActiveItem != 3 ) v29 = v81; sprintfex(&a1, format_4E2DC8, v29); sprintfex(pTmpBuf2, @@ -788,7 +788,7 @@ v88 = pFontArrus->CalcTextHeight(&a1, &v79, 0, 0); strcat(&a1, "\n \n"); v30 = *(int *)v84; - if ( pDialogueWindow->field_2C_focus_id != 4 ) + if ( pDialogueWindow->pCurrentPosActiveItem != 4 ) v30 = v81; sprintfex(&v77, format_4E2DC8, v30); strcat(&v77, pGlobalTXT_LocalizationStrings[160]); @@ -800,7 +800,7 @@ if ( v31 >= 108 && v31 <= 120 ) { v32 = *(int *)v84; - if ( pDialogueWindow->field_2C_focus_id != 5 ) + if ( pDialogueWindow->pCurrentPosActiveItem != 5 ) v32 = v81; sprintfex(&v75, format_4E2DC8, v32); strcat(&v75, pGlobalTXT_LocalizationStrings[611]); @@ -808,11 +808,11 @@ } v33 = pDialogueWindow; Str[1] = (char *)pDialogueWindow; - v34 = pDialogueWindow->field_38; - v35 = v34 + pDialogueWindow->field_28; + v34 = pDialogueWindow->pStartingPosActiveItem; + v35 = v34 + pDialogueWindow->pNumPresenceButton; v36 = LOBYTE(pFontArrus->uFontHeight) - 3; - v37 = -pDialogueWindow->field_28 < 0; - pOutString = (GUIFont *)pDialogueWindow->field_38; + v37 = -pDialogueWindow->pNumPresenceButton < 0; + pOutString = (GUIFont *)pDialogueWindow->pStartingPosActiveItem; if ( !(v37 ^ __OFSUB__(v34, v35)) ) { LABEL_75: @@ -858,9 +858,9 @@ LABEL_73: v38->uW = v41; } - v47 = v33->field_38; + v47 = v33->pStartingPosActiveItem; pOutString = (GUIFont *)((char *)pOutString + 1); - if ( (signed int)pOutString >= v33->field_28 + v47 ) + if ( (signed int)pOutString >= v33->pNumPresenceButton + v47 ) goto LABEL_75; } v42 = v90 + v88 + 2 * v36 + 146; @@ -890,11 +890,11 @@ v51 = pDialogueWindow; v52 = 174 - v48 * (174 - (signed int)pOutString) / v48 - (signed int)pOutString; v53 = v52 - HIDWORD(v52); - LODWORD(v52) = pDialogueWindow->field_38; - HIDWORD(v52) = v52 + pDialogueWindow->field_28; + LODWORD(v52) = pDialogueWindow->pStartingPosActiveItem; + HIDWORD(v52) = v52 + pDialogueWindow->pNumPresenceButton; v54 = (v53 >> 1) - v86 / 2 + 138; - v37 = -pDialogueWindow->field_28 < 0; - v89 = pDialogueWindow->field_38; + v37 = -pDialogueWindow->pNumPresenceButton < 0; + v89 = pDialogueWindow->pStartingPosActiveItem; if ( v37 ^ __OFSUB__((int)v52, HIDWORD(v52)) ) { v85 = (Player *)2; @@ -911,7 +911,7 @@ v54 = v57 + v58 - 1; v55->uW = v54; v60 = v84[0]; - if ( (Player *)pDialogueWindow->field_2C_focus_id != v59 ) + if ( (Player *)pDialogueWindow->pCurrentPosActiveItem != v59 ) v60 = v81; v79.DrawText2(pFontArrus, 0, v58, v60, *(const char **)&pOutString->cFirstChar, 3u); v51 = pDialogueWindow; @@ -919,7 +919,7 @@ pOutString = (GUIFont *)((char *)pOutString + 4); ++v89; } - while ( v89 < pDialogueWindow->field_28 + pDialogueWindow->field_38 ); + while ( v89 < pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem ); } } } @@ -1144,11 +1144,11 @@ while ( (signed int)v66 < (signed int)&pShopOptions[3] ); v68 = pDialogueWindow; v109 = (const char **)((174 - v65) / 3); - result = (char *)pDialogueWindow->field_38; - v69 = (int)&result[pDialogueWindow->field_28]; + result = (char *)pDialogueWindow->pStartingPosActiveItem; + v69 = (int)&result[pDialogueWindow->pNumPresenceButton]; v70 = (3 * (58 - (signed int)v109) - v65) / 2 - (174 - v65) / 3 / 2 + 138; - v20 = -pDialogueWindow->field_28 < 0; - v106.y = pDialogueWindow->field_38; + v20 = -pDialogueWindow->pNumPresenceButton < 0; + v106.y = pDialogueWindow->pStartingPosActiveItem; if ( v20 ^ __OFSUB__((int)result, (int)v69) ) { _this = (Player *)2; @@ -1165,14 +1165,14 @@ v70 = v73 + v74 - 1; v71->uW = v70; v76 = v104; - if ( (Player *)pDialogueWindow->field_2C_focus_id != v75 ) + if ( (Player *)pDialogueWindow->pCurrentPosActiveItem != v75 ) v76 = v105; v101.DrawText2(pFontArrus, 0, v74, v76, *(const char **)v108, 3u); v68 = pDialogueWindow; _this = (Player *)((char *)_this + 1); v108 += 4; ++v106.y; - result = (char *)(pDialogueWindow->field_28 + pDialogueWindow->field_38); + result = (char *)(pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem); } while ( v106.y < (signed int)result ); } @@ -1195,8 +1195,8 @@ v108 = v32 * (100 - _this->GetMerchant()) / 100; if ( v108 < v32 / 3 ) v108 = v32 / 3; - v33 = v30->field_38; - v34 = v33 + v30->field_28; + v33 = v30->pStartingPosActiveItem; + v34 = v33 + v30->pNumPresenceButton; v109 = 0; if ( (signed int)v33 >= v34 ) goto LABEL_105; @@ -1211,7 +1211,7 @@ } ++v33; } - while ( (signed int)v33 < v30->field_28 + v30->field_38 ); + while ( (signed int)v33 < v30->pNumPresenceButton + v30->pStartingPosActiveItem ); if ( !v109 ) { LABEL_105: @@ -1232,11 +1232,11 @@ v108 = (149 - v106.y) / (signed int)v109; if ( (149 - v106.y) / (signed int)v109 > 32 ) v108 = 32; - result = (char *)v30->field_38; + result = (char *)v30->pStartingPosActiveItem; v37 = (149 - (signed int)v109 * v108 - v106.y) / 2 - v108 / 2 + 162; v106.y = (LONG)result; v103 = v37; - if ( (signed int)result < (signed int)&result[v30->field_28] ) + if ( (signed int)result < (signed int)&result[v30->pNumPresenceButton] ) { v109 = (const char **)2; do @@ -1263,13 +1263,13 @@ v39->uW = v45; v103 = v45; v46 = v104; - if ( (const char **)pDialogueWindow->field_2C_focus_id != v44 ) + if ( (const char **)pDialogueWindow->pCurrentPosActiveItem != v44 ) v46 = v105; v101.DrawText2(pFontArrus, 0, v43, v46, Str, 3u); } - v47 = v30->field_38; + v47 = v30->pStartingPosActiveItem; ++v106.y; - result = (char *)(v30->field_28 + v47); + result = (char *)(v30->pNumPresenceButton + v47); v109 = (const char **)((char *)v109 + 1); } while ( v106.y < (signed int)result ); @@ -1345,11 +1345,11 @@ while ( (signed int)v15 < (signed int)&unk_F8B1C8 ); v17 = pDialogueWindow; v103 = (174 - v14) / 4; - result = (char *)pDialogueWindow->field_38; - v18 = (int)&result[pDialogueWindow->field_28]; + result = (char *)pDialogueWindow->pStartingPosActiveItem; + v18 = (int)&result[pDialogueWindow->pNumPresenceButton]; v19 = (174 - 4 * (174 - v14) / 4 - v14) / 2 - (174 - v14) / 4 / 2 + 138; - v20 = -pDialogueWindow->field_28 < 0; - _this = (Player *)pDialogueWindow->field_38; + v20 = -pDialogueWindow->pNumPresenceButton < 0; + _this = (Player *)pDialogueWindow->pStartingPosActiveItem; if ( v20 ^ __OFSUB__((int)result, v18) ) { v108 = 2; @@ -1366,14 +1366,14 @@ v19 = v24 + v23 - 1; v21->uW = v19; v26 = v104; - if ( pDialogueWindow->field_2C_focus_id != v25 ) + if ( pDialogueWindow->pCurrentPosActiveItem != v25 ) v26 = v105; v101.DrawText2(pFontArrus, 0, v24, v26, *v109, 3u); v17 = pDialogueWindow; ++v108; ++v109; _this = (Player *)((char *)_this + 1); - result = (char *)(pDialogueWindow->field_28 + pDialogueWindow->field_38); + result = (char *)(pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem); } while ( (signed int)_this < (signed int)result ); } @@ -1762,11 +1762,11 @@ while ( (signed int)v73 < (signed int)&unk_F8B1C8 ); v75 = pDialogueWindow; Str = (char *)((174 - v72) / 4); - result = (POINT *)pDialogueWindow->field_38; - v76 = (int)((char *)result + pDialogueWindow->field_28); + result = (POINT *)pDialogueWindow->pStartingPosActiveItem; + v76 = (int)((char *)result + pDialogueWindow->pNumPresenceButton); v77 = (174 - 4 * (174 - v72) / 4 - v72) / 2 - (174 - v72) / 4 / 2 + 138; - v28 = -pDialogueWindow->field_28 < 0; - v112 = pDialogueWindow->field_38; + v28 = -pDialogueWindow->pNumPresenceButton < 0; + v112 = pDialogueWindow->pStartingPosActiveItem; if ( v28 ^ __OFSUB__((int)result, v76) ) { _this = (Player *)2; @@ -1783,14 +1783,14 @@ v77 = v81 + v80 - 1; v78->uW = v77; v83 = v106; - if ( (Player *)pDialogueWindow->field_2C_focus_id != v82 ) + if ( (Player *)pDialogueWindow->pCurrentPosActiveItem != v82 ) v83 = v108; v104.DrawText2(pFontArrus, 0, v81, v83, *v111, 3u); v75 = pDialogueWindow; _this = (Player *)((char *)_this + 1); ++v111; ++v112; - result = (POINT *)(pDialogueWindow->field_28 + pDialogueWindow->field_38); + result = (POINT *)(pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem); } while ( (signed int)v112 < (signed int)result ); } @@ -1885,11 +1885,11 @@ while ( (signed int)v23 < (signed int)&pShopOptions[2] ); Str = (char *)((174 - v22) / 2); v25 = pDialogueWindow; - result = (POINT *)pDialogueWindow->field_38; - v26 = (int)((char *)result + pDialogueWindow->field_28); + result = (POINT *)pDialogueWindow->pStartingPosActiveItem; + v26 = (int)((char *)result + pDialogueWindow->pNumPresenceButton); v27 = (2 * (87 - (174 - v22) / 2) - v22) / 2 - (174 - v22) / 2 / 2 + 138; - v28 = -pDialogueWindow->field_28 < 0; - v112 = pDialogueWindow->field_38; + v28 = -pDialogueWindow->pNumPresenceButton < 0; + v112 = pDialogueWindow->pStartingPosActiveItem; if ( v28 ^ __OFSUB__((int)result, v26) ) { _this = (Player *)2; @@ -1907,14 +1907,14 @@ v29->uW = v34; v27 = v34; v35 = v106; - if ( (Player *)pDialogueWindow->field_2C_focus_id != v33 ) + if ( (Player *)pDialogueWindow->pCurrentPosActiveItem != v33 ) v35 = v108; v104.DrawText2(pFontArrus, 0, v32, v35, *v111, 3u); v25 = pDialogueWindow; _this = (Player *)((char *)_this + 1); ++v111; ++v112; - result = (POINT *)(pDialogueWindow->field_28 + pDialogueWindow->field_38); + result = (POINT *)(pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem); } while ( (signed int)v112 < (signed int)result ); } @@ -1935,8 +1935,8 @@ v111 = (const char **)(v5 * (100 - _this->GetMerchant()) / 100); if ( (signed int)v111 < v5 / 3 ) v111 = (const char **)(v5 / 3); - v6 = v2->field_38; - v7 = v6 + v2->field_28; + v6 = v2->pStartingPosActiveItem; + v7 = v6 + v2->pNumPresenceButton; v114 = 0; if ( (signed int)v6 < v7 ) { @@ -1951,7 +1951,7 @@ } ++v6; } - while ( (signed int)v6 < v2->field_28 + v2->field_38 ); + while ( (signed int)v6 < v2->pNumPresenceButton + v2->pStartingPosActiveItem ); if ( v114 ) { sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[401], v111); @@ -1959,11 +1959,11 @@ v111 = (const char **)((signed int)(149 - v112) / v114); if ( (signed int)(149 - v112) / v114 > 32 ) v111 = (const char **)32; - result = (POINT *)v2->field_38; + result = (POINT *)v2->pStartingPosActiveItem; v10 = (signed int)(149 - v114 * (int)v111 - v112) / 2 - (signed int)v111 / 2 + 162; v112 = (unsigned int)result; v105 = v10; - if ( (signed int)result < (signed int)((char *)result + v2->field_28) ) + if ( (signed int)result < (signed int)((char *)result + v2->pNumPresenceButton) ) { v114 = 2; do @@ -1990,13 +1990,13 @@ v12->uW = v18; v105 = v18; v19 = v106; - if ( pDialogueWindow->field_2C_focus_id != v17 ) + if ( pDialogueWindow->pCurrentPosActiveItem != v17 ) v19 = v108; v104.DrawText2(pFontArrus, 0, v16, v19, Str, 3u); } - v20 = v2->field_38; + v20 = v2->pStartingPosActiveItem; ++v112; - result = (POINT *)(v2->field_28 + v20); + result = (POINT *)(v2->pNumPresenceButton + v20); ++v114; } while ( (signed int)v112 < (signed int)result ); @@ -2486,11 +2486,11 @@ while ( (signed int)v81 < (signed int)&pShopOptions[3] ); v83 = pDialogueWindow; v152 = (174 - v80) / 3; - v84 = pDialogueWindow->field_38; - v85 = v84 + pDialogueWindow->field_28; + v84 = pDialogueWindow->pStartingPosActiveItem; + v85 = v84 + pDialogueWindow->pNumPresenceButton; v86 = (3 * (58 - v152) - v80) / 2 - v152 / 2 + 138; - v24 = -pDialogueWindow->field_28 < 0; - _this = (Player *)pDialogueWindow->field_38; + v24 = -pDialogueWindow->pNumPresenceButton < 0; + _this = (Player *)pDialogueWindow->pStartingPosActiveItem; if ( v24 ^ __OFSUB__(v84, v85) ) { v153 = 2; @@ -2506,7 +2506,7 @@ v86 = v90 + v89 - 1; v88->uW = v86; v92 = v147; - if ( pDialogueWindow->field_2C_focus_id != v91 ) + if ( pDialogueWindow->pCurrentPosActiveItem != v91 ) v92 = v148; v144.DrawText2(pFontArrus, 0, v90, v92, *v79, 3u); v83 = pDialogueWindow; @@ -2514,7 +2514,7 @@ ++v79; _this = (Player *)((char *)_this + 1); } - while ( (signed int)_this < pDialogueWindow->field_28 + pDialogueWindow->field_38 ); + while ( (signed int)_this < pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem ); } return; } @@ -2529,8 +2529,8 @@ _this = (Player *)(v38 * (100 - v0->GetMerchant()) / 100); if ( (signed int)_this < v38 / 3 ) _this = (Player *)(v38 / 3); - v39 = v37->field_38; - v40 = v37->field_28; + v39 = v37->pStartingPosActiveItem; + v40 = v37->pNumPresenceButton; v153 = 0; if ( (signed int)v39 < (signed int)(v39 + v40) ) { @@ -2545,7 +2545,7 @@ } ++v39; } - while ( (signed int)v39 < v37->field_28 + v37->field_38 ); + while ( (signed int)v39 < v37->pNumPresenceButton + v37->pStartingPosActiveItem ); if ( v153 ) { sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[401], _this); @@ -2554,9 +2554,9 @@ if ( (149 - v152) / v153 > 32 ) _this = (Player *)32; v43 = (149 - v153 * (signed int)_this - v152) / 2 - (signed int)_this / 2 + 162; - v152 = v37->field_38; + v152 = v37->pStartingPosActiveItem; v146 = v43; - if ( v152 < v152 + v37->field_28 ) + if ( v152 < v152 + v37->pNumPresenceButton ) { v153 = 2; do @@ -2583,13 +2583,13 @@ v45->uW = v51; v146 = v51; v52 = v147; - if ( pDialogueWindow->field_2C_focus_id != v50 ) + if ( pDialogueWindow->pCurrentPosActiveItem != v50 ) v52 = v148; v144.DrawText2(pFontArrus, 0, v49, v52, Str, 3u); } - v53 = v37->field_38; + v53 = v37->pStartingPosActiveItem; ++v152; - v54 = v37->field_28 + v53; + v54 = v37->pNumPresenceButton + v53; ++v153; } while ( v152 < v54 ); @@ -2816,11 +2816,11 @@ while ( (signed int)v18 < (signed int)&unk_F8B1C8 ); v20 = pDialogueWindow; v146 = (174 - v17) / 4; - v21 = pDialogueWindow->field_38; - v22 = v21 + pDialogueWindow->field_28; + v21 = pDialogueWindow->pStartingPosActiveItem; + v22 = v21 + pDialogueWindow->pNumPresenceButton; v23 = (174 - 4 * (174 - v17) / 4 - v17) / 2 - (174 - v17) / 4 / 2 + 138; - v24 = -pDialogueWindow->field_28 < 0; - v152 = pDialogueWindow->field_38; + v24 = -pDialogueWindow->pNumPresenceButton < 0; + v152 = pDialogueWindow->pStartingPosActiveItem; if ( v24 ^ __OFSUB__(v21, v22) ) { _this = (Player *)2; @@ -2836,7 +2836,7 @@ v23 = v28 + v27 - 1; v26->uW = v23; v30 = v147; - if ( (Player *)pDialogueWindow->field_2C_focus_id != v29 ) + if ( (Player *)pDialogueWindow->pCurrentPosActiveItem != v29 ) v30 = v148; v144.DrawText2(pFontArrus, 0, v28, v30, *v16, 3u); v20 = pDialogueWindow; @@ -2844,7 +2844,7 @@ ++v16; ++v152; } - while ( v152 < pDialogueWindow->field_28 + pDialogueWindow->field_38 ); + while ( v152 < pDialogueWindow->pNumPresenceButton + pDialogueWindow->pStartingPosActiveItem ); } } return; @@ -3773,7 +3773,7 @@ v1 = 0; v2 = a1; v55 = a1; - if ( !pDialogueWindow->field_28 ) + if ( !pDialogueWindow->pNumPresenceButton ) return; pRenderer->ClearZBuffer(0, 479); v3 = dword_F8B198;