summaryrefslogtreecommitdiff
path: root/src/strife/p_switch.c
diff options
context:
space:
mode:
authorJames Haley2011-02-23 09:25:47 +0000
committerJames Haley2011-02-23 09:25:47 +0000
commit7604a0956a73158e0f19a9437307556bc9b4ba56 (patch)
tree151155d00470e8492c5fc558a7899bb4c0cf4b04 /src/strife/p_switch.c
parent71f19d8d1ff5b914ac3871d6f740aaff00db82aa (diff)
downloadchocolate-doom-7604a0956a73158e0f19a9437307556bc9b4ba56.tar.gz
chocolate-doom-7604a0956a73158e0f19a9437307556bc9b4ba56.tar.bz2
chocolate-doom-7604a0956a73158e0f19a9437307556bc9b4ba56.zip
Removed all dead code containing P_Random calls to avoid false hits in
list, removed all remaining order-of-evaluation portability problems, and heavily altered behavior of T_FireFlicker thinkers to match the binary (had no clue they changed this previously!). Subversion-branch: /branches/strife-branch Subversion-revision: 2274
Diffstat (limited to 'src/strife/p_switch.c')
-rw-r--r--src/strife/p_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/p_switch.c b/src/strife/p_switch.c
index 9234c00d..bb70f890 100644
--- a/src/strife/p_switch.c
+++ b/src/strife/p_switch.c
@@ -233,7 +233,7 @@ static void P_SpawnBrokenGlass(line_t* line)
glass->angle = (an << ANGLETOFINESHIFT);
glass->momx = FixedMul(finecosine[an], (P_Random() & 3) << FRACBITS);
- glass->momy = FixedMul(finesine[an], (P_Random() & 3) << FRACBITS);
+ glass->momy = FixedMul(finesine[an], (P_Random() & 3) << FRACBITS);
glass->momz = (P_Random() & 7) << FRACBITS;
glass->tics += (P_Random() + 7) & 7;
}