- made player_t::crouchoffset and FPlayerStart's coordinates doubles and added a float version of divline_t so that I could complete the conversion of Hexen's game code.
- consolidated the actor based damage factor code which was repeated multiple times in various damage inflicting functions.
This commit is contained in:
parent
c830801da3
commit
4155e84a1c
24 changed files with 133 additions and 121 deletions
|
|
@ -135,7 +135,7 @@ bool P_CheckSwitchRange(AActor *user, line_t *line, int sideno, fixedvec3 *optpo
|
|||
return true;
|
||||
|
||||
// calculate the point where the user would touch the wall.
|
||||
divline_t dll, dlu;
|
||||
fdivline_t dll, dlu;
|
||||
fixed_t inter, checkx, checky;
|
||||
|
||||
P_MakeDivline (line, &dll);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue