summaryrefslogtreecommitdiff
path: root/src/strife/p_pspr.c
diff options
context:
space:
mode:
authorJames Haley2011-02-14 04:23:39 +0000
committerJames Haley2011-02-14 04:23:39 +0000
commit9e13008481a526eca87ca480bf6bc52b0f31e795 (patch)
tree4ff35c15266418df00ea3f1b646fa62a6a29d434 /src/strife/p_pspr.c
parent63903f9aac430d321a3063fbc79d61ccae6db22e (diff)
downloadchocolate-doom-9e13008481a526eca87ca480bf6bc52b0f31e795.tar.gz
chocolate-doom-9e13008481a526eca87ca480bf6bc52b0f31e795.tar.bz2
chocolate-doom-9e13008481a526eca87ca480bf6bc52b0f31e795.zip
Made note of vanilla Sigil damage thrust bug, and repaired two issues
with color translations (fixes Harris's weird white/green spot when he dies). Subversion-branch: /branches/strife-branch Subversion-revision: 2266
Diffstat (limited to 'src/strife/p_pspr.c')
-rw-r--r--src/strife/p_pspr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/strife/p_pspr.c b/src/strife/p_pspr.c
index 42a6bd7b..269b60b0 100644
--- a/src/strife/p_pspr.c
+++ b/src/strife/p_pspr.c
@@ -786,7 +786,10 @@ void A_FireSigil(player_t* player, pspdef_t* pspr)
// keep info on armor because sigil does piercing damage
i = player->armortype;
player->armortype = 0;
- P_DamageMobj(player->mo, player->mo, 0, 4 * (player->sigiltype + 1));
+
+ // BUG: setting inflictor causes firing the Sigil to always push the player
+ // toward the east, no matter what direction he is facing.
+ P_DamageMobj(player->mo, player->mo, NULL, 4 * (player->sigiltype + 1));
// restore armor
player->armortype = i;