Skip to content

Commit e656f1d

Browse files
committed
fix car disappearing when returning jonny to modoc, closes #237
1 parent cef064e commit e656f1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts_src/maps/modmain.ssl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ variable laddie; //added by killap
8787
// if player has car, move it from Ghost farm to Modoc
8888
if dude_has_car and (car_current_town == AREA_GHOST_TOWN) then begin
8989
set_global_var(GVAR_CAR_PLACED_TILE, 0);
90+
set_car_current_town(AREA_MODOC);
9091
Create_Car(CAR_MODOC_HEX,CAR_MODOC_ELEV)
9192
if (tile_contains_pid_obj(CAR_MODOC_HEX, CAR_MODOC_ELEV, PID_DRIVABLE_CAR) != 0) then begin
9293
Create_Trunk(CAR_MODOC_HEX,CAR_MODOC_ELEV)

0 commit comments

Comments
 (0)