Merge remote-tracking branch 'check/next-cc'

This commit is contained in:
Stefan Seyfried
2014-01-27 21:00:18 +01:00
11 changed files with 51 additions and 9 deletions

View File

@@ -916,6 +916,8 @@ int CLuaInstance::MenuAddItem(lua_State *L)
if (type == "back") {
m->m->addItem(GenericMenuBack);
} else if (type == "separator") {
m->m->addItem(GenericMenuSeparator);
} else if (type == "separatorline") {
if (!b->name.empty()) {
m->m->addItem(new CMenuSeparator(CMenuSeparator::STRING | CMenuSeparator::LINE, b->name.c_str(), NONEXISTANT_LOCALE));
} else {