Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2Classic
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
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chromaticpipe
SRB2Classic
Commits
c3d72864
Commit
c3d72864
authored
1 year ago
by
Hanicef
Browse files
Options
Downloads
Patches
Plain Diff
Fix segfault when rendering precip mobjs in OpenGL
parent
49cb2c84
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/p_mobj.h
+2
-2
2 additions, 2 deletions
src/p_mobj.h
with
2 additions
and
2 deletions
src/p_mobj.h
+
2
−
2
View file @
c3d72864
...
...
@@ -450,9 +450,9 @@ typedef struct precipmobj_s
angle_t
old_angle
,
old_pitch
,
old_roll
;
// orientation interpolation
angle_t
old_angle2
,
old_pitch2
,
old_roll2
;
angle_t
spriteroll
,
old_spriteroll
,
old_spriteroll2
;
spritenum_t
sprite
;
// used to find patch_t and flip value
UINT32
sprite
;
// used to find patch_t and flip value
UINT32
frame
;
// frame number, plus bits see p_pspr.h
UINT
16
sprite2
;
// player sprites
UINT
32
sprite2
;
// player sprites
UINT16
anim_duration
;
// for FF_ANIMATE states
UINT32
renderflags
;
// render flags
...
...
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