Skip to content

Commit

Permalink
Fixed Sulik's appearance after parting ways with him in his tribe
Browse files Browse the repository at this point in the history
(ref. BGforgeNet#267)

Fixed minor typo in enc.h.
  • Loading branch information
NovaRain committed Feb 23, 2024
1 parent 250d3f5 commit 894fb17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts_src/headers/enc.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ variable Enclave_Second;
#define check_poisoning if (global_var(GVAR_ENCLAVE_ALARM) == ALARM_TOXIN) then display_msg(g_mstr(1013))


// Closes and locks all blasts doors in the final fight. If Granite has joined, doesn't close the door between him and Frank.
// Closes and locks all blast doors in the final fight. If Granite has joined, doesn't close the door between him and Frank.
procedure final_fight_lock_doors begin
// door_pid > tile
variable always_close, granite_close, pid, tile, door;
Expand All @@ -55,7 +55,7 @@ procedure final_fight_lock_doors begin
obj_close(door);
obj_lock(door);
end
if GVAR_ENCLAVE_GRANITE_JOINED != 1 then begin
if (GVAR_ENCLAVE_GRANITE_JOINED != 1) then begin
foreach (pid: tile in granite_close) begin
door := tile_contains_pid_obj(tile, elevation(self_obj), pid);
obj_close(door);
Expand Down
1 change: 1 addition & 0 deletions scripts_src/klamath/kcsulik.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -1939,6 +1939,7 @@ procedure Node093 begin
set_local_var(LVAR_Gave_Stuff,1);
//add sulik stuff to player inventory
inven_unwield(self_obj);
art_change_fid_num(self_obj, FID_NMWARR); // reset appearance
move_obj_inven_to_obj(self_obj, dude_obj);
set_local_var(LVAR_At_Tribe,3);
end
Expand Down

0 comments on commit 894fb17

Please sign in to comment.