comparison Actor.cpp @ 2228:b65e71eadd1b

add this->field_0 = 0; in OtherOverlay::Reset()
author Ritor1
date Fri, 21 Feb 2014 18:02:20 +0600
parents e18200fcfb50
children 6ab7d7c112bb
comparison
equal deleted inserted replaced
2227:e87b5709a502 2228:b65e71eadd1b
1385 v4 = PID(OBJECT_Actor,uActorID); 1385 v4 = PID(OBJECT_Actor,uActorID);
1386 switch ( a2 ) 1386 switch ( a2 )
1387 { 1387 {
1388 case 1: 1388 case 1:
1389 if ( a3 ) 1389 if ( a3 )
1390 {
1391 pOtherOverlayList->_4418B6(904, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0); 1390 pOtherOverlayList->_4418B6(904, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0);
1392 }
1393 return; 1391 return;
1394 case 2: 1392 case 2:
1395 if ( a3 ) 1393 if ( a3 )
1396 {
1397 pOtherOverlayList->_4418B6(905, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0); 1394 pOtherOverlayList->_4418B6(905, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0);
1398 }
1399 return; 1395 return;
1400 case 3: 1396 case 3:
1401 if ( a3 ) 1397 if ( a3 )
1402 {
1403 pOtherOverlayList->_4418B6(906, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0); 1398 pOtherOverlayList->_4418B6(906, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0);
1404 }
1405 return; 1399 return;
1406 case 4: 1400 case 4:
1407 if ( a3 ) 1401 if ( a3 )
1408 {
1409 pOtherOverlayList->_4418B6(907, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0); 1402 pOtherOverlayList->_4418B6(907, v4, 0, (int)(sub_43AE12(a3) * 65536.0), 0);
1410 }
1411 return; 1403 return;
1412 case 5: 1404 case 5:
1413 pOtherOverlayList->_4418B6(901, v4, 0, PID(OBJECT_Actor,uActorID), 0); 1405 pOtherOverlayList->_4418B6(901, v4, 0, PID(OBJECT_Actor,uActorID), 0);
1414 return; 1406 return;
1415 case 6: 1407 case 6: