Mercurial > mm7
comparison mm7_2.cpp @ 410:6cb79ea315ba
small fix, please revise if you agree or not
author | zipi |
---|---|
date | Sat, 23 Feb 2013 12:56:29 +0000 |
parents | c0700eaabeb8 |
children | ad1e9c0bf6da 88c30918eef7 |
comparison
equal
deleted
inserted
replaced
409:90099d811d4f | 410:6cb79ea315ba |
---|---|
990 if ( v1 >= (unsigned __int8)_4F063C_smthn_by_2da_uType[p2DEvents[(unsigned int)v0->ptr_1C - 1].uType] ) | 990 if ( v1 >= (unsigned __int8)_4F063C_smthn_by_2da_uType[p2DEvents[(unsigned int)v0->ptr_1C - 1].uType] ) |
991 goto LABEL_15; | 991 goto LABEL_15; |
992 } | 992 } |
993 v3 = 5 * v2; | 993 v3 = 5 * v2; |
994 v2 = (signed int)v0->ptr_1C; | 994 v2 = (signed int)v0->ptr_1C; |
995 v4 = word_4F03FE[v3]; | 995 v4 = word_4F0404[v3 - 4]; |
996 v5 = word_4F0400[5 * v2 + rand() % 4]; | 996 v5 = word_4F0404[5 * v2 + rand() % 4 - 2]; |
997 goto LABEL_13; | 997 goto LABEL_13; |
998 } | 998 } |
999 LABEL_15: | 999 LABEL_15: |
1000 result = v0->ptr_1C; | 1000 result = v0->ptr_1C; |
1001 *(int *)&pParty->field_16154[4 * (int)result] = 0; | 1001 *(int *)&pParty->field_16154[4 * (int)result] = 0; |