comparison mm7_2.cpp @ 1167:15ad868d972f

pPartyBuffs - change plain numbers to enums
author Grumpy7
date Tue, 04 Jun 2013 18:29:35 +0200
parents 29a8defbad9e
children 2b950844f2d6 0dbf6c4dd029
comparison
equal deleted inserted replaced
1166:11cda4934da3 1167:15ad868d972f
147 } 147 }
148 _42777D_CastSpell_UseWand_ShootArrow(v26, 0, v28, v30, v32); 148 _42777D_CastSpell_UseWand_ShootArrow(v26, 0, v28, v30, v32);
149 return 0; 149 return 0;
150 } 150 }
151 v20 = pOtherOverlayList->_4418B1(10005, 201, 0, 65536); 151 v20 = pOtherOverlayList->_4418B1(10005, 201, 0, 65536);
152 pParty->pPartyBuffs[18].Apply(pParty->uTimePlayed + 46080, 3u, 0, v20, 0); 152 pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].Apply(pParty->uTimePlayed + 46080, 3u, 0, v20, 0);
153 pParty->pPartyBuffs[18].uFlags |= 1u; 153 pParty->pPartyBuffs[PARTY_BUFF_WATER_WALK].uFlags |= 1u;
154 v31 = 0; 154 v31 = 0;
155 v29 = 0; 155 v29 = 0;
156 v27 = 0; 156 v27 = 0;
157 v25 = 0; 157 v25 = 0;
158 v24 = -1; 158 v24 = -1;
178 v21 = (SoundID)203; 178 v21 = (SoundID)203;
179 } 179 }
180 else 180 else
181 { 181 {
182 v19 = pOtherOverlayList->_4418B1(10008, 203, 0, 65536); 182 v19 = pOtherOverlayList->_4418B1(10008, 203, 0, 65536);
183 pParty->pPartyBuffs[7].Apply(pParty->uTimePlayed + 30720, 3u, 1u, v19, 0); 183 pParty->pPartyBuffs[PARTY_BUFF_FLY].Apply(pParty->uTimePlayed + 30720, 3u, 1u, v19, 0);
184 pParty->pPartyBuffs[7].uFlags |= 1u; 184 pParty->pPartyBuffs[PARTY_BUFF_FLY].uFlags |= 1u;
185 v31 = 0; 185 v31 = 0;
186 v29 = 0; 186 v29 = 0;
187 v27 = 0; 187 v27 = 0;
188 v25 = 0; 188 v25 = 0;
189 v24 = -1; 189 v24 = -1;