Merge remote-tracking branch 'origin/Saturn-Next' into lugstuff
This commit is contained in:
commit
ff640639b2
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -872,8 +872,8 @@ static void COM_Help_f(void)
|
||||
return;
|
||||
}
|
||||
|
||||
CONS_Printf("No variable or command named %s", help);
|
||||
CONS_Printf("\x82""\nCheck wiki.srb2.org for more or try typing help without arguments\n");
|
||||
CONS_Printf("Variable or command not found, trying \"find %s\"...\n", help);
|
||||
COM_ImmedExecute(va("find %s", help));
|
||||
|
||||
}
|
||||
return;
|
||||
|
||||
@@ -2937,7 +2937,7 @@ EXPORT void HWRAPI(SetTransform) (FTransform *stransform)
|
||||
// https://zdoom.org/wiki/Y-shearing
|
||||
if (shearing)
|
||||
{
|
||||
float dy = FIXED_TO_FLOAT(AIMINGTODY(stransform->viewaiming)) * 2; //screen_width/BASEVIDWIDTH;
|
||||
float dy = FIXED_TO_FLOAT(AIMINGTODY((stransform->viewaiming)) * 2)* ((float)vid.width / vid.height) / ((float)BASEVIDWIDTH / BASEVIDHEIGHT); //screen_width/BASEVIDWIDTH;
|
||||
if (stransform->flip)
|
||||
dy *= -1.0f;
|
||||
pglTranslatef(0.0f, -dy/BASEVIDHEIGHT, 0.0f);
|
||||
|
||||
Reference in new issue
Block a user