Fix one-shot messages showing an extraneous error message

This commit is contained in:
2015-01-29 01:59:24 -05:00
parent 62965891db
commit d1e67403a4

View File

@@ -2580,6 +2580,8 @@ void oneshot_spec(eSpecCtx which_mode,cSpecial cur_node,short cur_spec_type,
}
}
break;
case eSpecType::ONCE_DISPLAY_MSG:
break; // Nothing to do here, but need to include it to prevent the below error from showing.
default:
giveError("Special node type \"" + (*cur_node.type).name() + "\" is either miscategorized or unimplemented!");
break;