- make weapon sprite offsets floats.
This commit is contained in:
parent
1ff4bb419c
commit
2d2eeb49f0
9 changed files with 23 additions and 25 deletions
|
|
@ -33,8 +33,8 @@
|
|||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
#define LOWERSPEED FRACUNIT*6
|
||||
#define RAISESPEED FRACUNIT*6
|
||||
#define LOWERSPEED 6.
|
||||
#define RAISESPEED 6.
|
||||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
||||
|
|
@ -169,11 +169,11 @@ void P_SetPsprite (player_t *player, int position, FState *state, bool nofunctio
|
|||
|
||||
if (state->GetMisc1())
|
||||
{ // Set coordinates.
|
||||
psp->sx = state->GetMisc1()<<FRACBITS;
|
||||
psp->sx = state->GetMisc1();
|
||||
}
|
||||
if (state->GetMisc2())
|
||||
{
|
||||
psp->sy = state->GetMisc2()<<FRACBITS;
|
||||
psp->sy = state->GetMisc2();
|
||||
}
|
||||
|
||||
if (!nofunction && player->mo != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue