Minor cleanup
This commit is contained in:
@@ -18,19 +18,7 @@ namespace legacy {
|
|||||||
struct creature_data_type;
|
struct creature_data_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
class cPopulation { // formerly creature_list_type
|
class cPopulation {
|
||||||
// class cCreature { // formerly creature_data_type
|
|
||||||
// public:
|
|
||||||
// short active, attitude;
|
|
||||||
// unsigned char number;
|
|
||||||
// location m_loc;
|
|
||||||
// cMonster m_d;
|
|
||||||
// bool mobile;
|
|
||||||
// short summoned;
|
|
||||||
// cTown::cCreature monst_start;
|
|
||||||
//
|
|
||||||
// cCreature& operator = (legacy::creature_data_type old);
|
|
||||||
// };
|
|
||||||
std::vector<cCreature> dudes;
|
std::vector<cCreature> dudes;
|
||||||
public:
|
public:
|
||||||
short which_town;
|
short which_town;
|
||||||
|
@@ -452,7 +452,7 @@ void cSpecial::append(legacy::special_node_type& old){
|
|||||||
default:
|
default:
|
||||||
if(old.type >= 0 && old.type < 255)
|
if(old.type >= 0 && old.type < 255)
|
||||||
showError("Unrecognized node type found: " + std::to_string(old.type));
|
showError("Unrecognized node type found: " + std::to_string(old.type));
|
||||||
else std::cout << "Unrecognized node type found: " + std::to_string(old.type)
|
else std::cout << "Unrecognized node type found: " << old.type
|
||||||
<< "\n\tNote: This could indicate corruption in the scenario, but more likely is just a result of garbage data in unused nodes or in the memory structures they were read into. The unrecognized node type has been replaced with invalid type -1.";
|
<< "\n\tNote: This could indicate corruption in the scenario, but more likely is just a result of garbage data in unused nodes or in the memory structures they were read into. The unrecognized node type has been replaced with invalid type -1.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user