mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
Assuming that this change will return an empty StringId, let's cross our fingers
This commit is contained in:
@@ -280,10 +280,8 @@ void NpcConversation::sendResponses()
|
||||
*/
|
||||
const NpcConversation::Response & NpcConversation::getResponse(int index) const
|
||||
{
|
||||
const static Response dummy;
|
||||
|
||||
if (m_responses->empty())
|
||||
return dummy;
|
||||
return m_responses->at(static_cast<size_t>(0));
|
||||
|
||||
const int size = static_cast<int>(m_responses->size());
|
||||
if (index < 0)
|
||||
|
||||
Reference in New Issue
Block a user