mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
playershot widescreen fix
This commit is contained in:
parent
ab490e4e17
commit
5ede801584
@ -1237,8 +1237,8 @@ void PlayerShot_DrawShot(PlayerShot* shot) {
|
|||||||
Matrix_MultVec3f(gGfxMatrix, &sp11C, &sShotViewPos);
|
Matrix_MultVec3f(gGfxMatrix, &sp11C, &sShotViewPos);
|
||||||
if ((sShotViewPos.z < 0.0f) && (sShotViewPos.z > -10000.0f)) {
|
if ((sShotViewPos.z < 0.0f) && (sShotViewPos.z > -10000.0f)) {
|
||||||
var_fv1 = fabsf(sShotViewPos.x); // probably fake. The use of temps was likely different
|
var_fv1 = fabsf(sShotViewPos.x); // probably fake. The use of temps was likely different
|
||||||
if (var_fv1 < (fabsf(sShotViewPos.z * /* 0.5f */ 1.0f) + 500.0f)) {
|
if (var_fv1 < (fabsf(sShotViewPos.z * /* 0.5f */ 1.5f) + 500.0f)) {
|
||||||
if (fabsf(sShotViewPos.y) < (fabsf(sShotViewPos.z * /* 0.5f */ 1.0f) + 500.0f)) {
|
if (fabsf(sShotViewPos.y) < (fabsf(sShotViewPos.z * 0.5f) + 500.0f)) {
|
||||||
isDrawn = true;
|
isDrawn = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user