- floatified the global view variables.
The software renderer still uses internal copies of the fixed point version.
This commit is contained in:
parent
a5e14425aa
commit
8680391e0b
14 changed files with 142 additions and 168 deletions
|
|
@ -1953,13 +1953,13 @@ void AM_drawSubsectors()
|
|||
double secx;
|
||||
double secy;
|
||||
double seczb, seczt;
|
||||
double cmpz = FIXED2DBL(viewz);
|
||||
double cmpz = ViewPos.Z;
|
||||
|
||||
if (players[consoleplayer].camera && sec == players[consoleplayer].camera->Sector)
|
||||
{
|
||||
// For the actual camera sector use the current viewpoint as reference.
|
||||
secx = FIXED2DBL(viewx);
|
||||
secy = FIXED2DBL(viewy);
|
||||
secx = ViewPos.X;
|
||||
secy = ViewPos.Y;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue