Browse Source

clean up multi_mon_seeds (#580)

pull/25/head
Anders Jenbo 7 years ago committed by Robin Eklind
parent
commit
003fb7cc24
  1. 18
      Source/multi.cpp

18
Source/multi.cpp

@ -349,19 +349,13 @@ int __fastcall multi_check_pkt_valid(TBuffer *a1)
void __cdecl multi_mon_seeds() void __cdecl multi_mon_seeds()
{ {
unsigned int v0; // eax int i;
int v1; // edx DWORD l;
int *v2; // ecx
int v3; // esi
v0 = _rotr(++sgdwGameLoops, 8); sgdwGameLoops++;
v1 = 0; l = _rotr(sgdwGameLoops, 8);
v2 = &monster[0]._mAISeed; for (i = 0; i < 200; i++)
do { monster[i]._mAISeed = l + i;
v3 = v1++ + v0;
*v2 = v3;
v2 += 57;
} while ((signed int)v2 < (signed int)&monster[MAXMONSTERS]._mAISeed);
} }
void __cdecl multi_begin_timeout() void __cdecl multi_begin_timeout()

Loading…
Cancel
Save