diff --git a/src/xrGame/PhraseDialog.cpp b/src/xrGame/PhraseDialog.cpp index 55ad268b0b0..245dc458600 100644 --- a/src/xrGame/PhraseDialog.cpp +++ b/src/xrGame/PhraseDialog.cpp @@ -254,6 +254,11 @@ CPhrase* CPhraseDialog::AddPhrase( { CPhrase* phrase = NULL; CPhraseGraph::CVertex* _vertex = data()->m_PhraseGraph.vertex(phrase_id); + +#ifndef MASTER_GOLD + VERIFY2(!_vertex, make_string("Dublicate phrase ID: [%s] for phrase: [%s]. Existed phrase by this ID: [%s]", phrase_id.c_str(), text, _vertex->data()->GetText())); +#endif + if (!_vertex) { phrase = xr_new();