From a545d5f28f9f9c47446ae28eff750923a9df45b9 Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 27 Sep 2017 00:02:48 +0200 Subject: [PATCH] Fixed check (should be case insensitive like in stock game) --- SilentPatchSA/VehicleSA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatchSA/VehicleSA.cpp b/SilentPatchSA/VehicleSA.cpp index 6cd84ec..7c1abc8 100644 --- a/SilentPatchSA/VehicleSA.cpp +++ b/SilentPatchSA/VehicleSA.cpp @@ -68,7 +68,7 @@ static RwFrame* GetFrameFromName( RwFrame* topFrame, const char* name ) RwFrame* operator() ( RwFrame* frame ) { - if ( strcmp( m_name, GetFrameNodeName(frame) ) == 0 ) + if ( _stricmp( m_name, GetFrameNodeName(frame) ) == 0 ) { foundFrame = frame; return nullptr;