1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Toss lots of custom CString code

We already have a C standard library, so let's not reimplement it.
This commit is contained in:
2012-06-17 20:15:04 -04:00
parent 1556d147d9
commit f0af98b0a7
29 changed files with 91 additions and 251 deletions

View File

@ -235,7 +235,7 @@ void pfGameGUIMgr::IAddDlgToList( hsKeyedObject *obj )
// check to see if it is the dialog we are waiting for to be loaded
for ( i=0 ; i<fDialogToSetKeyOf.Count() ; i++ )
{
if ( hsStrEQ(fDialogToSetKeyOf[i]->GetName(), mod->GetName()) )
if ( strcmp(fDialogToSetKeyOf[i]->GetName(), mod->GetName()) == 0 )
{
SetDialogToNotify(mod,fDialogToSetKeyOf[i]->GetKey());
// now remove this entry... we did it
@ -316,7 +316,7 @@ void pfGameGUIMgr::LoadDialog( const char *name, plKey recvrKey, const char *
int i;
for ( i=0 ; i<fDialogToSetKeyOf.Count() ; i++ )
{
if ( hsStrEQ(fDialogToSetKeyOf[i]->GetName(), name) )
if ( strcmp(fDialogToSetKeyOf[i]->GetName(), name) == 0 )
{
alreadyLoaded = true;
break;