ref: cb76368326d70bd8708a8180f75740e580c1312d
parent: af2746a42ce2fbce209d813c057449df32f71473
author: James Haley <[email protected]>
date: Mon Oct 4 22:43:51 EDT 2010
Weird side effects of sigil -1 turned out to be due to small error in sigil self-damage calculation. Subversion-branch: /branches/strife-branch Subversion-revision: 2158
--- a/src/strife/p_pspr.c
+++ b/src/strife/p_pspr.c
@@ -787,7 +787,7 @@
// 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);
+ P_DamageMobj(player->mo, player->mo, 0, 4 * (player->sigiltype + 1));
// restore armor
player->armortype = i;
--- a/src/strife/p_user.c
+++ b/src/strife/p_user.c
@@ -308,8 +308,6 @@
if(player->pitch <= 90)
player->pitch = player->pitch + 3;
-
-
if(player->cmd.buttons & BT_USE)
player->playerstate = PST_REBORN;
}