commit 2fbba9a00d88f0a1538c85a7241e9b1a446fc6b5
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:17:23 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:48:14 2022 +0300
hexen: Fix TextKeyMessages extern declarations to match definition
---
src/hexen/p_acs.c | 2 +-
src/hexen/p_spec.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hexen/p_acs.c b/src/hexen/p_acs.c
index f984f97b..3980d3a2 100644
--- a/src/hexen/p_acs.c
+++ b/src/hexen/p_acs.c
@@ -677,7 +677,7 @@ boolean P_StartLockedACS(line_t * line, byte * args, mobj_t * mo, int side)
byte newArgs[5];
char LockedBuffer[80];
- extern char *TextKeyMessages[11];
+ extern const char *TextKeyMessages[];
lock = args[4];
if (!mo->player)
diff --git a/src/hexen/p_spec.c b/src/hexen/p_spec.c
index c3accc13..41e16720 100644
--- a/src/hexen/p_spec.c
+++ b/src/hexen/p_spec.c
@@ -408,7 +408,7 @@ boolean EV_SectorSoundChange(byte * args)
static boolean CheckedLockedDoor(mobj_t * mo, byte lock)
{
- extern char *TextKeyMessages[11];
+ extern const char *TextKeyMessages[];
char LockedBuffer[80];
if (!mo->player)