ref: e11589559ffa38aa2d3897d01853a2871d772d42
parent: 77f1f76b2b0336663ec32d66cd09628afba36093
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:40:27 EDT 2018
hexen: Make P_SetYellowMessage message parameter const
--- a/src/hexen/p_inter.c
+++ b/src/hexen/p_inter.c
@@ -90,7 +90,7 @@
//
//==========================================================================
-void P_SetYellowMessage(player_t * player, char *message, boolean ultmsg)
+void P_SetYellowMessage(player_t * player, const char *message, boolean ultmsg)
{
if ((player->ultimateMessage || !messageson) && !ultmsg)
{
--- a/src/hexen/p_local.h
+++ b/src/hexen/p_local.h
@@ -279,7 +279,7 @@
extern int clipmana[NUMMANA];
void P_SetMessage(player_t * player, const char *message, boolean ultmsg);
-void P_SetYellowMessage(player_t * player, char *message, boolean ultmsg);
+void P_SetYellowMessage(player_t * player, const char *message, boolean ultmsg);
void P_ClearMessage(player_t * player);
void P_TouchSpecialThing(mobj_t * special, mobj_t * toucher);
void P_DamageMobj(mobj_t * target, mobj_t * inflictor, mobj_t * source,