projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b57119
)
fixed save/load-game.
author
Tobias Gläßer
<tobi.web@gmx.de>
Sat, 13 Mar 2004 18:55:25 +0000
(18:55 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Sat, 13 Mar 2004 18:55:25 +0000
(18:55 +0000)
SVN-Revision: 205
src/setup.c
patch
|
blob
|
history
diff --git
a/src/setup.c
b/src/setup.c
index
2f7e48c
..
336ae92
100644
(file)
--- a/
src/setup.c
+++ b/
src/setup.c
@@
-387,18
+387,18
@@
void process_save_load_game_menu(int save)
{
if(save == YES)
{
- savegame(slot);
+ savegame(slot
- 1
);
}
else
{
if(game_started == NO)
{
- gameloop("default",slot,ST_GL_LOAD_GAME);
+ gameloop("default",slot
- 1
,ST_GL_LOAD_GAME);
show_menu = YES;
menu_set_current(&main_menu);
}
else
- loadgame(slot);
+ loadgame(slot
- 1
);
}
st_pause_ticks_stop();
}