- SW: Promote adjustment of helpers to double since some values will be coming in with higher precision.

This commit is contained in:
Mitchell Richters 2020-09-07 21:03:30 +10:00
parent 584ec935ed
commit 77816bf3d3
2 changed files with 8 additions and 8 deletions

View file

@ -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)
{

View file

@ -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