diff --git a/source/sw/src/player.cpp b/source/sw/src/player.cpp index 5c861bc85..af64c5b97 100644 --- a/source/sw/src/player.cpp +++ b/source/sw/src/player.cpp @@ -7791,7 +7791,7 @@ void CheckFootPrints(PLAYERp pp) // //--------------------------------------------------------------------------- -void playerAddAngle(PLAYERp pp, int ang) +void playerAddAngle(PLAYERp pp, double ang) { if (!cl_syncinput) { @@ -7803,7 +7803,7 @@ void playerAddAngle(PLAYERp pp, int ang) } } -void playerSetAngle(PLAYERp pp, int ang) +void playerSetAngle(PLAYERp pp, double ang) { if (!cl_syncinput) { @@ -7815,7 +7815,7 @@ void playerSetAngle(PLAYERp pp, int ang) } } -void playerAddHoriz(PLAYERp pp, int horiz) +void playerAddHoriz(PLAYERp pp, double horiz) { if (!cl_syncinput) { @@ -7827,7 +7827,7 @@ void playerAddHoriz(PLAYERp pp, int horiz) } } -void playerSetHoriz(PLAYERp pp, int horiz) +void playerSetHoriz(PLAYERp pp, double horiz) { if (!cl_syncinput) { diff --git a/source/sw/src/player.h b/source/sw/src/player.h index 608dc40ff..1db99ae8e 100644 --- a/source/sw/src/player.h +++ b/source/sw/src/player.h @@ -144,10 +144,10 @@ void PlaySOsound(short sectnum,short sound_num); void DoSpawnTeleporterEffectPlace(SPRITEp sp); void FindMainSector(SECTOR_OBJECTp sop); -void playerAddAngle(PLAYERp pp, int ang); -void playerSetAngle(PLAYERp pp, int ang); -void playerAddHoriz(PLAYERp pp, int horiz); -void playerSetHoriz(PLAYERp pp, int horiz); +void playerAddAngle(PLAYERp pp, double ang); +void playerSetAngle(PLAYERp pp, double ang); +void playerAddHoriz(PLAYERp pp, double horiz); +void playerSetHoriz(PLAYERp pp, double horiz); END_SW_NS