projects
/
hackover2013-badge-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f804065
)
Schießen nur möglich, wenn Spieler noch lebt.
author
Wintermute
<wintermute@hannover.ccc.de>
Sun, 27 Oct 2013 18:31:25 +0000
(19:31 +0100)
committer
Wintermute
<wintermute@hannover.ccc.de>
Sun, 27 Oct 2013 18:31:25 +0000
(19:31 +0100)
badge/jumpnrun/jumpnrun.c
patch
|
blob
|
history
diff --git
a/badge/jumpnrun/jumpnrun.c
b/badge/jumpnrun/jumpnrun.c
index
c91aac1
..
4e36954
100644
(file)
--- a/
badge/jumpnrun/jumpnrun.c
+++ b/
badge/jumpnrun/jumpnrun.c
@@
-269,7
+269,7
@@
uint8_t jumpnrun_play_level(char const *lvname) {
for(i = 0; i < JUMPNRUN_MAX_SHOTS && jumpnrun_shot_spawned(&gs.shots[i]); ++i)
;
for(i = 0; i < JUMPNRUN_MAX_SHOTS && jumpnrun_shot_spawned(&gs.shots[i]); ++i)
;
- if(i < JUMPNRUN_MAX_SHOTS) {
+ if(i < JUMPNRUN_MAX_SHOTS
&& jumpnrun_player_alive(&gs.player)
) {
jumpnrun_shot_spawn(gs.shots + i, &gs);
}
}
jumpnrun_shot_spawn(gs.shots + i, &gs);
}
}
This page took
0.02188 seconds
and
4
git commands to generate.