Skip to content

Commit

Permalink
Fix intermittent crash when entering Vault City.
Browse files Browse the repository at this point in the history
* Fix VC Entrance_Door_Ptr

* Fix abbey playerTmpBox2 error

* Fix ncr2 lenny_obj

* Add comments and todo for workarounds.

---------

Co-authored-by: burner1024 <[email protected]>
  • Loading branch information
ptuchster and burner1024 authored Feb 22, 2024
1 parent 4a4b31c commit 12dcff2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts_src/abbey/abbey.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ procedure start;
procedure map_enter_p_proc;
procedure map_update_p_proc;

/*
TODO: this is a temporary workaround for a ghost object in .map file.
It should be removed once the map file is fixed.
See https://github.com/BGforgeNet/Fallout2_Restoration_Project/pull/260
*/
export variable playerTmpBox2;
/* end todo */

export variable abbey_bill_box_obj;

procedure start
Expand Down
7 changes: 7 additions & 0 deletions scripts_src/maps/ncr2.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ export variable i_fergus_obj := 0;
export variable i_gunther_obj := 0;
export variable i_emitter_carlson_obj := 0;

/*
TODO: this is a temporary workaround for a ghost object in .map file.
It should be removed once the map file is fixed.
See https://github.com/BGforgeNet/Fallout2_Restoration_Project/pull/260
*/
export variable lenny_obj := 0;
/* end todo */

procedure start;
procedure map_enter_p_proc;
Expand Down
8 changes: 8 additions & 0 deletions scripts_src/maps/vctyctyd.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ procedure start;
procedure map_enter_p_proc;
procedure map_update_p_proc;

/*
TODO: this is a temporary workaround for a ghost object in .map file.
It should be removed once the map file is fixed.
See https://github.com/BGforgeNet/Fallout2_Restoration_Project/pull/260
*/
export variable Entrance_Door_Ptr;
/* end todo */

export variable vault_city_harry_box;
export variable vault_city_courtyard_temp_box;
export variable plow1;
Expand Down

0 comments on commit 12dcff2

Please sign in to comment.