- Added scaling to double size for idmypos display.
- Changed: Players don't telefrag when they are spawned now but after all actors have been spawned to avoid accidental voodoo doll telefragging. - Fixed: ACS scripts for non-existent maps were started on the current one. - Added a 'wallbouncefactor' property to AActor. - Reverted forceunderwater change from r1026 and fixed the problem for real: SECF_FORCEDUNDERWATER only has meaning when coming from the heightsec. So the initial check of the current sector in AActor::UpdateWaterLevel must only check for SECF_UNDERWATER, not SECF_UNDERWATERMASK. SVN r1027 (trunk)
This commit is contained in:
parent
2ca601eed1
commit
4e7a6c54ef
15 changed files with 83 additions and 24 deletions
|
|
@ -2302,7 +2302,7 @@ bool FSlide::BounceWall (AActor *mo)
|
|||
deltaangle >>= ANGLETOFINESHIFT;
|
||||
|
||||
movelen = P_AproxDistance (mo->momx, mo->momy);
|
||||
movelen = (movelen * 192) >> 8; // friction
|
||||
movelen = FixedMul(movelen, mo->wallbouncefactor);
|
||||
|
||||
FBoundingBox box(mo->x, mo->y, mo->radius);
|
||||
if (box.BoxOnLineSide (line) == -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue