- Finally fixed the bug which prevented monsters from appearing in town.

- Attempted in vain to fix the crash when showing the Choose Custom Scenario dialog.
- Cleaned out the commented code in boe.global.h.
- Changed name of scen_header_type::default_ground to rating to reflect its actual use.

git-svn-id: http://openexile.googlecode.com/svn/trunk@83 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-30 22:47:09 +00:00
parent 4359bb558e
commit aa2f13c679
20 changed files with 562 additions and 794 deletions

View File

@@ -29,9 +29,8 @@ extern long register_flag;
extern WindowPtr mainPtr;
extern Point ul;
//extern piles_of_stuff_dumping_type *data_store;
extern vector<scen_header_type> scen_headers;
extern cScenarioList scen_headers;;
extern bool unreg_party_in_scen_not_check;
extern std::vector<scen_header_str_type> scen_header_strs;
//extern std::vector<std::string> scen_names;;
extern cUniverse univ;
@@ -100,11 +99,11 @@ bool handle_startup_press(Point the_point)
scen = pick_a_scen();
if(scen < 0) break;
if (scen_headers[scen].prog_make_ver[0] >= 2) {
if (scen_headers.data(scen).prog_make_ver[0] >= 2) {
FCD(912,0);
break;
}
scen_name = scen_header_strs[scen].file;
scen_name = scen_headers.strs(scen).file;
put_party_in_scen(scen_name);
break;