mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 11:24:09 +00:00
Implemented faststrcmp, faststricmp, strcasecmp
This commit is contained in:
parent
c075b863d2
commit
c202fc3b55
19 changed files with 101 additions and 53 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "common.h"
|
||||
#include "patcher.h"
|
||||
#include "General.h"
|
||||
#include "Ped.h"
|
||||
#include "NodeName.h"
|
||||
#include "VisibilityPlugins.h"
|
||||
|
@ -60,7 +61,7 @@ FindPedFrameFromNameCB(RwFrame *frame, void *data)
|
|||
{
|
||||
RwObjectNameAssociation *assoc = (RwObjectNameAssociation*)data;
|
||||
|
||||
if(_strcmpi(GetFrameNodeName(frame)+1, assoc->name+1) != 0){
|
||||
if(CGeneral::faststricmp(GetFrameNodeName(frame)+1, assoc->name+1)){
|
||||
RwFrameForAllChildren(frame, FindPedFrameFromNameCB, assoc);
|
||||
return assoc->frame ? nil : frame;
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue