mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
return ifdef to original position following the debugging tests
This commit is contained in:
1 parent
f12ae756ef
commit
86e6e54792
1 file changed
+1
-1
+1
-1
@@ -595,6 +595,7 @@ Gfx *artifactsRenderGlaresForRoom(Gfx *gdl, s32 roomnum)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (k = i; k < i + count; k++) {
|
for (k = i; k < i + count; k++) {
|
||||||
|
#ifdef PLATFORM_N64
|
||||||
u16 expecteddepth;
|
u16 expecteddepth;
|
||||||
actualdepth = (artifacts[k].actualdepth & 0xfffc) >> 2;
|
actualdepth = (artifacts[k].actualdepth & 0xfffc) >> 2;
|
||||||
expecteddepth = artifacts[k].expecteddepth;
|
expecteddepth = artifacts[k].expecteddepth;
|
||||||
@@ -605,7 +606,6 @@ Gfx *artifactsRenderGlaresForRoom(Gfx *gdl, s32 roomnum)
|
|||||||
difference = expecteddepth - actualdepth;
|
difference = expecteddepth - actualdepth;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef PLATFORM_N64
|
|
||||||
if (difference <= tolerance) {
|
if (difference <= tolerance) {
|
||||||
numgood++;
|
numgood++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user