Fixed check (should be case insensitive like in stock game)

This commit is contained in:
Silent 2017-09-27 00:02:48 +02:00
parent cab60502f3
commit a545d5f28f

View file

@ -68,7 +68,7 @@ static RwFrame* GetFrameFromName( RwFrame* topFrame, const char* name )
RwFrame* operator() ( RwFrame* frame ) RwFrame* operator() ( RwFrame* frame )
{ {
if ( strcmp( m_name, GetFrameNodeName(frame) ) == 0 ) if ( _stricmp( m_name, GetFrameNodeName(frame) ) == 0 )
{ {
foundFrame = frame; foundFrame = frame;
return nullptr; return nullptr;