comparison Spells.cpp @ 142:8b8fd4d83fdc

Various things here and there
author Nomad
date Tue, 12 Feb 2013 06:28:08 +0200
parents 9c0607679772
children 038a4d09406f
comparison
equal deleted inserted replaced
141:cca78efb377e 142:8b8fd4d83fdc
49 this->uCaster = 0; 49 this->uCaster = 0;
50 this->uFlags = 0; 50 this->uFlags = 0;
51 if ( v2 ) 51 if ( v2 )
52 { 52 {
53 ((OtherOverlay *)&stru_5E4C90._decor_events[20 * v2 + 105])->Reset(); 53 ((OtherOverlay *)&stru_5E4C90._decor_events[20 * v2 + 105])->Reset();
54 pOtherOverlayList->field_3EC = 1; 54 pOtherOverlayList->bRedraw = true;
55 v1->uOverlayID = 0; 55 v1->uOverlayID = 0;
56 } 56 }
57 } 57 }
58 58
59 //----- (004585CA) -------------------------------------------------------- 59 //----- (004585CA) --------------------------------------------------------
98 { 98 {
99 v8 = (unsigned __int16)v8; 99 v8 = (unsigned __int16)v8;
100 if ( (unsigned __int16)v8 != a5 ) 100 if ( (unsigned __int16)v8 != a5 )
101 { 101 {
102 ((OtherOverlay *)&stru_5E4C90._decor_events[20 * v8 + 105])->Reset(); 102 ((OtherOverlay *)&stru_5E4C90._decor_events[20 * v8 + 105])->Reset();
103 pOtherOverlayList->field_3EC = 1; 103 pOtherOverlayList->bRedraw = true;
104 v6->uOverlayID = 0; 104 v6->uOverlayID = 0;
105 } 105 }
106 } 106 }
107 v6->uOverlayID = a5; 107 v6->uOverlayID = a5;
108 v6->uCaster = a6; 108 v6->uCaster = a6;