- floatified po_man.cpp and the remaining bits in p_lnspec.cpp
This commit is contained in:
parent
1666418510
commit
7a2c8fdc1c
11 changed files with 273 additions and 293 deletions
|
|
@ -5320,7 +5320,7 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
|
|||
FPolyObj *poly = PO_GetPolyobj(args[0]);
|
||||
if (poly != NULL)
|
||||
{
|
||||
return poly->StartSpot.x;
|
||||
return DoubleToACS(poly->StartSpot.pos.X);
|
||||
}
|
||||
}
|
||||
return FIXED_MAX;
|
||||
|
|
@ -5330,7 +5330,7 @@ int DLevelScript::CallFunction(int argCount, int funcIndex, SDWORD *args)
|
|||
FPolyObj *poly = PO_GetPolyobj(args[0]);
|
||||
if (poly != NULL)
|
||||
{
|
||||
return poly->StartSpot.y;
|
||||
return DoubleToACS(poly->StartSpot.pos.Y);
|
||||
}
|
||||
}
|
||||
return FIXED_MAX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue