Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
387d1939
Commit
387d1939
authored
Dec 06, 2017
by
IOhannes m zmölnig
Browse files
rephrase code so it's easier to cppcheck
parent
cb545aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Particles/papi/system.cpp
View file @
387d1939
...
...
@@ -387,7 +387,8 @@ void _pAddActionToList(ParticleAction *S, int size)
memcpy
(
new_alist
,
alist
,
alist
->
count
*
sizeof
(
PAHeader
));
delete
[]
alist
;
_ps
.
alist_list
[
_ps
.
list_id
]
=
_ps
.
pact
=
alist
=
new_alist
;
alist
=
new_alist
;
_ps
.
alist_list
[
_ps
.
list_id
]
=
_ps
.
pact
=
alist
;
alist
->
actions_allocated
=
new_alloc
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment