Browse Source

Cleanup DRLG_RectTrans, already bin exact

pull/88/head
Robin Eklind 7 years ago
parent
commit
cc40bbfbe3
  1. 20
      Source/gendung.cpp

20
Source/gendung.cpp

@ -595,22 +595,14 @@ void DRLG_MRectTrans(int x1, int y1, int x2, int y2)
void DRLG_RectTrans(int x1, int y1, int x2, int y2) void DRLG_RectTrans(int x1, int y1, int x2, int y2)
{ {
int i; // esi int i, j;
char *v5; // edx
int j; // eax for (j = y1; j <= y2; j++) {
for (i = x1; i <= x2; i++) {
for (i = y1; i <= y2; ++i) { dTransVal[i][j] = TransVal;
if (x1 <= x2) {
v5 = &dTransVal[x1][i];
j = x2 - x1 + 1;
do {
*v5 = TransVal;
v5 += 112;
--j;
} while (j);
} }
} }
++TransVal; TransVal++;
} }
// 5A5590: using guessed type char TransVal; // 5A5590: using guessed type char TransVal;

Loading…
Cancel
Save