diff --git a/scripts_src/den/dcslave.ssl b/scripts_src/den/dcslave.ssl index d29e4de9f8..657dd61b85 100644 --- a/scripts_src/den/dcslave.ssl +++ b/scripts_src/den/dcslave.ssl @@ -102,8 +102,8 @@ procedure timed_event_p_proc begin self_walk_to_tile(global_temp); end end else begin - if (tile_distance(self_tile,30302) > 3) then begin //edit by killap - was map_next_tile - anim_run_to_point_rate(30302, 5) + if (tile_distance(self_tile, map_next_tile) > 3) then begin + anim_run_to_point_rate(map_next_tile, 5) end else begin destroy_object(self_obj); end diff --git a/scripts_src/modoc/mckarl.ssl b/scripts_src/modoc/mckarl.ssl index 3d737e78f2..d5a90b9e09 100644 --- a/scripts_src/modoc/mckarl.ssl +++ b/scripts_src/modoc/mckarl.ssl @@ -166,7 +166,7 @@ end procedure critter_p_proc begin if (self_visible) then begin - if (self_tile == 30302) then begin //edit by killap - was map_exit_tile + if (self_tile == map_next_tile) then begin destroy_object(self_obj); end else if (karl_nuts) then begin anim_run_to_point_rate(map_next_tile, 4)