From 7604a0956a73158e0f19a9437307556bc9b4ba56 Mon Sep 17 00:00:00 2001 From: James Haley Date: Wed, 23 Feb 2011 09:25:47 +0000 Subject: 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 --- src/strife/p_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strife/p_switch.c') 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; } -- cgit v1.2.3