if you have more than one Z level, then more mobs will be outside of the Z level than in it. Therefore, you can slightly speed up the code by having the Z level check run first, and short circuit the rest of the if condition, evaluating it slightly faster:
In
DreamProcNativeRoot.cs
there is a line used inviewer()
andoviewer()
:if you have more than one Z level, then more mobs will be outside of the Z level than in it. Therefore, you can slightly speed up the code by having the Z level check run first, and short circuit the rest of the
if
condition, evaluating it slightly faster: