mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
adjust player drawing for widescreen
This commit is contained in:
parent
69dcab6b86
commit
ab490e4e17
@ -1361,7 +1361,7 @@ bool Display_CheckPlayerVisible(s32 index, s32 reflectY) {
|
|||||||
Matrix_MultVec3f(gGfxMatrix, &src, &dest);
|
Matrix_MultVec3f(gGfxMatrix, &src, &dest);
|
||||||
|
|
||||||
if ((dest.z < 200.0f) && (dest.z > -12000.0f)) {
|
if ((dest.z < 200.0f) && (dest.z > -12000.0f)) {
|
||||||
if (fabsf(dest.x) < (fabsf(dest.z * 0.5f) + 500.0f)) {
|
if (fabsf(dest.x) < (fabsf(dest.z * /*0.5f*/ 1.5f) + 500.0f)) {
|
||||||
if (fabsf(dest.y) < (fabsf(dest.z * 0.5f) + 500.0f)) {
|
if (fabsf(dest.y) < (fabsf(dest.z * 0.5f) + 500.0f)) {
|
||||||
if (reflectY == 0) {
|
if (reflectY == 0) {
|
||||||
sPlayersVisible[index] = true;
|
sPlayersVisible[index] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user