Skip to content

Commit

Permalink
Reverted the destination tile changes in dcslave and mckarl
Browse files Browse the repository at this point in the history
(it was from UP because map_next_tile in denbus2.map was blocked, RP
version of the map doesn't have this issue.)

Fixed Karl not disappearing after walking out of view (due to mismatch
of destination tile, he would disappear only on re-entering denbus2.)
  • Loading branch information
NovaRain committed Aug 8, 2024
1 parent 228931a commit ac6120a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts_src/den/dcslave.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts_src/modoc/mckarl.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac6120a

Please sign in to comment.