1
0
Fork 0

Fixed crashing and inaccurate Cathedral generation

pull/9/head
galaxyhaxz 2018-06-10 21:02:12 -05:00 committed by GitHub
parent 1d11984779
commit 616df28d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1959,7 +1959,7 @@ void __fastcall L5VertWall(int i, int j, char p, int dy)
_LOWORD(v13) = v9;
_LOBYTE(v9) = v19;
v14 = (unsigned int)(dy - 1) >> 2;
memset(v12, v13, v14);
memset32(v12, v13, v14);
memset(&v12[4 * v14], v13, ((_BYTE)dy - 1) & 3);
v11 = dy;
v4 = v18;