Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
ca78fc69
Commit
ca78fc69
authored
4 years ago
by
Lactozilla
Browse files
Options
Downloads
Patches
Plain Diff
Restore the viewpoint's angle in R_DrawPlanes instead
parent
29745f80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1326
Restore the viewpoint's angle in R_DrawPlanes instead (related to #404)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/r_plane.c
+3
-3
3 additions, 3 deletions
src/r_plane.c
with
3 additions
and
3 deletions
src/r_plane.c
+
3
−
3
View file @
ca78fc69
...
...
@@ -607,6 +607,7 @@ void R_MakeSpans(INT32 x, INT32 t1, INT32 b1, INT32 t2, INT32 b2)
void
R_DrawPlanes
(
void
)
{
visplane_t
*
pl
;
angle_t
va
=
viewangle
;
INT32
i
;
R_UpdatePlaneRipple
();
...
...
@@ -621,6 +622,8 @@ void R_DrawPlanes(void)
R_DrawSinglePlane
(
pl
);
}
}
viewangle
=
va
;
}
// R_DrawSkyPlane
...
...
@@ -788,7 +791,6 @@ void R_DrawSinglePlane(visplane_t *pl)
ffloor_t
*
rover
;
int
type
;
int
spanfunctype
=
BASEDRAWFUNC
;
angle_t
viewang
=
viewangle
;
if
(
!
(
pl
->
minx
<=
pl
->
maxx
))
return
;
...
...
@@ -1153,8 +1155,6 @@ using the palette colors.
}
}
#endif
viewangle
=
viewang
;
}
void
R_PlaneBounds
(
visplane_t
*
plane
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment