Mercurial > mm7
diff mm7_3.cpp @ 1297:5450af4f57ef
moving files mm7_x ending
author | Ritor1 |
---|---|
date | Wed, 19 Jun 2013 17:06:58 +0600 |
parents | 86a83e12d795 |
children | 13b7be8b06a0 |
line wrap: on
line diff
--- a/mm7_3.cpp Tue Jun 18 17:28:11 2013 +0600 +++ b/mm7_3.cpp Wed Jun 19 17:06:58 2013 +0600 @@ -11756,35 +11756,6 @@ } } -//----- (004488B6) -------------------------------------------------------- -unsigned __int16 DecorationList::GetDecorIdByName(const char *pName) -{ - DecorationList *v2; // esi@1 - signed int uID; // edi@2 - signed int v4; // ebx@3 - unsigned __int16 result; // ax@6 - - v2 = this; - if ( pName && (uID = 1, (signed int)this->uNumDecorations > 1) ) - { - v4 = 1; - while ( _stricmp(pName, v2->pDecorations[v4].pName) ) - { - ++uID; - ++v4; - if ( uID >= (signed int)v2->uNumDecorations ) - goto LABEL_6; - } - result = uID; - } - else - { -LABEL_6: - result = 0; - } - return result; -} - //----- (0044892E) -------------------------------------------------------- void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on) {