- Removed the patches for the Doom/Heretic E1 intermission screens from

R_InitPatches. This isn't needed anymore because all these are loaded through
  an intermission script.
- Fixed: A_SpawnDebris read the third and fourth arguments from the first one's
  address.


SVN r664 (trunk)
This commit is contained in:
Christoph Oelckers 2008-01-04 08:51:51 +00:00
commit aa90336765
4 changed files with 33 additions and 63 deletions

View file

@ -1769,8 +1769,8 @@ void A_SpawnDebris(AActor * self)
if (debris == NULL) return;
INTBOOL transfer_translation = EvalExpressionI (StateParameters[index+1], self);
fixed_t mult_h = fixed_t(EvalExpressionF (StateParameters[index], self) * FRACUNIT);
fixed_t mult_v = fixed_t(EvalExpressionF (StateParameters[index], self) * FRACUNIT);
fixed_t mult_h = fixed_t(EvalExpressionF (StateParameters[index+2], self) * FRACUNIT);
fixed_t mult_v = fixed_t(EvalExpressionF (StateParameters[index+3], self) * FRACUNIT);
// only positive values make sense here
if (mult_v<=0) mult_v=FRACUNIT;