- Fixed issues with loading scenarios caused by the struct alignments added in revision 63.

- Fixed a potential memory leak in load_scenario() in which new was essentially called twice in a row.
- Added a max_items() function to the town record classes, in preparation for an eventual removal of the limit on preset items.

git-svn-id: http://openexile.googlecode.com/svn/trunk@66 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-22 20:49:20 +00:00
parent 032d6b86bf
commit 0578e51b6f
9 changed files with 302 additions and 279 deletions

View File

@@ -101,6 +101,7 @@ public:
virtual unsigned char& lighting(size_t i, size_t r) = 0;
virtual short max_dim() = 0;
virtual short max_monst() = 0;
virtual short max_items() = 0;
cTown();
cTown(short size);