foxygit / doom Log in
commit 909a779a0d54ff91b01fad2cc17a0263ba5419ad
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Feb 23 17:39:03 2015 +0100
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Feb 23 17:39:03 2015 +0100

    Switch pick-up messages for Chaos Device and Disc of Repulsion

    For bug compatibility with the original 4-level Demo. Confirmed on
    map04 with the Demo version with the following md5sums:

    458d3ff08d32fc50abb55a5b68660b6b  HEXEN.EXE
    876a5a44c7b68f04b3bb9bc7a5bd69d6  HEXEN.WAD
---
 src/hexen/p_inter.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/hexen/p_inter.c b/src/hexen/p_inter.c
index 587614ff..4f1ecda8 100644
--- a/src/hexen/p_inter.c
+++ b/src/hexen/p_inter.c
@@ -747,6 +747,12 @@ static void TryPickupArtifact(player_t * player, artitype_t artifactType,
         TXT_ARTIPUZZGEAR
     };

+    if (gamemode == shareware)
+    {
+        artifactMessages[arti_blastradius] = TXT_ARTITELEPORT;
+        artifactMessages[arti_teleport] = TXT_ARTIBLASTRADIUS;
+    }
+
     if (P_GiveArtifact(player, artifactType, artifact))
     {
         if (artifact->special)