Fix some constants.

This commit is contained in:
Paul Coene
2017-09-17 12:11:02 -04:00
parent e3972cc9e6
commit 59152a9d77
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -867,7 +867,7 @@ void Mob::FixZ(int32 z_find_offset /*= 5*/)
duration
);
if ((new_z > -2000) && new_z != -999999) {
if ((new_z > -2000) && new_z != BEST_Z_INVALID) {
if (RuleB(Map, MobZVisualDebug))
this->SendAppearanceEffect(78, 0, 0, 0, 0);