From: Ricardo Cruz Date: Sun, 11 Apr 2004 22:30:48 +0000 (+0000) Subject: Fixed a simple bug that was not letting levelsets to be added. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7b932c8e016289d8a2a99b7d31f72de4ed9d234f;p=supertux.git Fixed a simple bug that was not letting levelsets to be added. Added a levelset for Wansti! These levels are great :) SVN-Revision: 496 --- diff --git a/data/levels/wansti/info b/data/levels/wansti/info new file mode 100644 index 000000000..9efe4d8de --- /dev/null +++ b/data/levels/wansti/info @@ -0,0 +1,4 @@ +;SuperTux-Level-Subset +(supertux-level-subset + (title "Marek Wansti collection") + (description "Contributed")) \ No newline at end of file diff --git a/src/title.cpp b/src/title.cpp index 60eaa4ef1..da135d97c 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -76,8 +76,8 @@ void update_contrib_menu() for (int i = 0; i < level_subsets.num_items; ++i) { st_subset subset; - subset.load(level_subsets.item[0]); - contrib_menu->additem(MN_GOTO, subset.title.c_str(), 0, contrib_subset_menu); + subset.load(level_subsets.item[i]); + contrib_menu->additem(MN_GOTO, subset.title.c_str(), i, contrib_subset_menu); contrib_subsets.push_back(subset); }