various fixes

This commit is contained in:
Alexander S. Aganichev
2002-07-19 06:04:58 +00:00
parent 105c2e765d
commit 7e7d37a0dd
6 changed files with 105 additions and 77 deletions

View File

@@ -754,6 +754,8 @@ static void read_nodelists() {
if(not quiet) std::cout << std::endl << "* Compiling userlists:" << std::endl;
}
pos = 0;
for(fno=userlist.begin(), zno=userzone.begin(); fno != userlist.end() and nodes < maxnodes; fno++, zno++) {
no = 0;
@@ -822,7 +824,7 @@ static void read_nodelists() {
}
// Indicate userlist
nlst.pos = (long)0xFFFFFFFFL;
nlst.pos = (long)0xFF000000L | (pos++);
// Append to end of list
nodeidx.push_back(nlst);