projects
/
neverball
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Isolate basename stuff in a completely separate function bname(),
[neverball]
/
ball
/
st_play.c
diff --git
a/ball/st_play.c
b/ball/st_play.c
index
bbe5706
..
b44e38e
100644
(file)
--- a/
ball/st_play.c
+++ b/
ball/st_play.c
@@
-251,6
+251,12
@@
static int play_loop_keybd(int c, int d)
config_set_d(CONFIG_CAMERA, 2);
hud_view_pulse(2);
}
+ if (c == SDLK_r && curr_lg()->mode != MODE_CHALLENGE)
+ {
+ level_stop(GAME_NONE, 0, curr_clock(), curr_coins());
+ level_play_go();
+ goto_state(&st_play_set);
+ }
}
else
{