comparison Events.cpp @ 787:3a77fbf7d0b8

GetSector
author Ritor1
date Mon, 25 Mar 2013 02:20:57 +0600
parents c319601893af
children f004c7ceb7bd
comparison
equal deleted inserted replaced
786:da80bd2922df 787:3a77fbf7d0b8
1063 case EVENT_RandomGoTo: 1063 case EVENT_RandomGoTo:
1064 //v124 = -1; 1064 //v124 = -1;
1065 v11 = (unsigned __int8)*(&_evt->v5 + rand() % ((_evt->v5 != 0) + (_evt->v6 != 0) + (_evt->v7 != 0) + (_evt->v8 != 0) + (_evt->v9 != 0) 1065 v11 = (unsigned __int8)*(&_evt->v5 + rand() % ((_evt->v5 != 0) + (_evt->v6 != 0) + (_evt->v7 != 0) + (_evt->v8 != 0) + (_evt->v9 != 0)
1066 + (_evt->v10 != 0))); 1066 + (_evt->v10 != 0)));
1067 curr_seq_num = v11 - 1; 1067 curr_seq_num = v11 - 1;
1068 ++curr_seq_num; 1068 ++curr_seq_num;
1069 v4 = v124; 1069 v4 = v124;
1070 break;
1070 case EVENT_ReceiveDamage: 1071 case EVENT_ReceiveDamage:
1071 v85 = EVT_DWORD(_evt->v7 ); 1072 v85 = EVT_DWORD(_evt->v7 );
1072 v86 = _evt->v5; 1073 v86 = _evt->v5;
1073 if ( (unsigned __int8)v86 <= 3u ) 1074 if ( (unsigned __int8)v86 <= 3u )
1074 { 1075 {