Random fixes

This commit is contained in:
Alexander S. Aganichev
2002-10-11 05:54:11 +00:00
parent 293685cd8e
commit e36d8cebd9
4 changed files with 40 additions and 5 deletions

View File

@@ -181,6 +181,9 @@ void gareafile::ReadHPTFile(char* path, char* file, char* origin, int group) {
std::cout << "* Reading " << file << std::endl;
aa.reset();
aa.type = GMB_NONE;
aa.msgbase = fidomsgtype;
aa.groupid = group;
std::string s;
while(ReadHPTLine(fp, &s)) {
@@ -231,6 +234,7 @@ void gareafile::ReadHPTFile(char* path, char* file, char* origin, int group) {
case CRC_LOCALAREA:
case CRC_DUPEAREA:
case CRC_BADAREA:
aa = echoareadefaults;
aa.type = GMB_LOCAL;
break;
case CRC_ECHOAREA:
@@ -240,6 +244,8 @@ void gareafile::ReadHPTFile(char* path, char* file, char* origin, int group) {
case CRC_ECHOAREADEFAULTS:
echoareadefaults.reset();
aa.type = GMB_DEFAULT;
aa.msgbase = fidomsgtype;
aa.groupid = group;
break;
}