Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Sommersemester 2015
Cpp
Deth Buff Arr
Commits
d083879b
Commit
d083879b
authored
Oct 11, 2015
by
Thomas Eppers
Browse files
removed compiler warning in player_item_manager.cpp
parent
364a63c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gameplay/item/player_item_manager.cpp
View file @
d083879b
...
...
@@ -121,7 +121,7 @@ namespace gdw {
void
player_item_manager
::
update
(
float
dt
)
{
std
::
vector
<
accelerator_type
*>
accel_del_queue
;
for
(
int
i
=
0
;
i
<
accelerators_
.
size
();
i
++
)
{
for
(
auto
i
=
0
u
;
i
<
accelerators_
.
size
();
i
++
)
{
auto
a
=
accelerators_
[
i
];
auto
ent
=
engine_
.
entity_manager
().
resolve
(
a
->
main
);
auto
&
game_input_manager
=
engine_
.
game_play_system
().
game_input_manager
();
...
...
@@ -146,7 +146,7 @@ namespace gdw {
// emp management
std
::
vector
<
emp_type
*>
emp_del_queue
;
for
(
int
i
=
0
;
i
<
emps_
.
size
();
i
++
)
{
for
(
auto
i
=
0
u
;
i
<
emps_
.
size
();
i
++
)
{
auto
e
=
emps_
[
i
];
e
->
alive_timer
+=
dt
;
...
...
Write
Preview
Supports
Markdown
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