Skip to content

Commit

Permalink
Fix healing revision living anatomy pda message missing, ref #107.
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Jun 8, 2024
1 parent f53aebc commit f1ac0b7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/gl_g_healing_revision.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ variable begin
msg;
end

/**
* Gets message `x` from **game** message file `msg`
* @arg {int} x - message number
*/
#define mymsg(x) message_str_game(msg, x)
/**
* Displays message `x` from **game** message file `msg`
* @arg {int} x - message number
*/
#define display_mymsg(x) display_msg(mymsg(x))

procedure heal_disabilities(variable user, variable target, variable effective_skill) begin
Expand Down Expand Up @@ -318,7 +326,7 @@ procedure map_enter_p_proc begin
then begin
ndebug(obj_name(dude_obj) + " gets living anatomy!");
critter_add_trait(dude_obj, TRAIT_PERK, PERK_living_anatomy_perk, 1);
display_mymsg(dude_name + " " + msg_living_anatomy_2);
display_msg(dude_name + " " + mymsg(msg_living_anatomy_2));
float_msg(dude_obj, mymsg(msg_living_anatomy), FLOAT_MSG_WHITE);
end
end
Expand Down

0 comments on commit f1ac0b7

Please sign in to comment.