Move special node category into the node properties struct

This commit is contained in:
2017-04-14 00:40:05 -04:00
parent 791c2a27d4
commit e98f9381fe
5 changed files with 12 additions and 10 deletions

View File

@@ -2059,7 +2059,7 @@ void run_special(eSpecCtx which_mode,short which_type,short start_spec,location
special_in_progress = false;
return;
}
switch(getNodeCategory(cur_node.type)) {
switch((*cur_node.type).cat) {
case eSpecCat::GENERAL:
if(cur_node.type == eSpecType::NONE && univ.debug_mode) {
std::string type("???");