comparison Spells.cpp @ 1679:4da5644df18f

Cosmetics
author Nomad
date Fri, 20 Sep 2013 14:45:44 +0200
parents 75fafd8ced59
children 7a9477135943
comparison
equal deleted inserted replaced
1676:483cc7f0d86c 1679:4da5644df18f
1166 //----- (00427769) -------------------------------------------------------- 1166 //----- (00427769) --------------------------------------------------------
1167 bool __fastcall sub_427769_spell(unsigned int uSpellID) 1167 bool __fastcall sub_427769_spell(unsigned int uSpellID)
1168 { 1168 {
1169 bool result; // eax@2 1169 bool result; // eax@2
1170 1170
1171 __debugbreak(); // refactor 1171 __debugbreak(); // wut is dat?
1172 if ( *(&pSpellDatas[0].field_12 + 20 * uSpellID) & 0xC ) 1172 if ( pSpellDatas[uSpellID].field_12 & 0xC )
1173 result = 1; 1173 result = 1;
1174 else 1174 else
1175 result = 0; 1175 result = 0;
1176 return result; 1176 return result;
1177 } 1177 }