Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 5d2b67416ddc990581860db738cca14088bd59a7 Mon Sep 17 00:00:00 2001
- From: Harry Bullen <hbullen@gmail.com>
- Date: Sat, 17 Mar 2012 17:27:57 -0400
- Subject: [PATCH] Fix bug in tworld 2 preventing the loading of a specific
- level
- ---
- tworld.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
- diff --git a/tworld.c b/tworld.c
- index d477659..35a7aa7 100644
- --- a/tworld.c
- +++ b/tworld.c
- @@ -1688,7 +1688,12 @@ static int choosegameatstartup(gamespec *gs, startupdata const *start)
- return 0;
- }
- - if (series.count == 1) {
- + /* If their is only one game series and we are going to do something
- + * special with it. Otherwise the readseriesfile call messes up game
- + * state.
- + */
- + if (series.count == 1 &&
- + (start->batchverify || start->listscores || start->listtimes) ) {
- if (start->savefilename)
- series.list[0].savefilename = start->savefilename;
- if (!readseriesfile(series.list)) {
- --
- 1.7.9.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement