mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 03:11:03 +00:00
Remove a couple adds from each pixel of morph mapping
This commit is contained in:
parent
af4479924a
commit
8679606ebb
1 changed files with 9 additions and 2 deletions
11
src/r_main.c
11
src/r_main.c
|
@ -770,7 +770,11 @@ void R_CheckViewMorph(void)
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
x1 += halfwidth;
|
||||
y1 += halfheight;
|
||||
|
||||
for (vy = 0; vy < halfheight; vy++)
|
||||
{
|
||||
x2 = x1;
|
||||
|
@ -780,8 +784,8 @@ void R_CheckViewMorph(void)
|
|||
|
||||
for (vx = 0; vx < vid.width; vx++)
|
||||
{
|
||||
usedx = halfwidth+x2;
|
||||
usedy = halfheight+y2;
|
||||
usedx = x2;
|
||||
usedy = y2;
|
||||
|
||||
usedpos = usedx + usedy*vid.width;
|
||||
|
||||
|
@ -793,6 +797,9 @@ void R_CheckViewMorph(void)
|
|||
pos++;
|
||||
}
|
||||
}
|
||||
#ifdef WOUGHMP_WOUGHMP
|
||||
}
|
||||
#endif
|
||||
|
||||
viewmorph.use = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue