mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
Convert dStrcmp to String::compare for more cases
This commit is contained in:
parent
c999baf7ed
commit
197a62f6ea
22 changed files with 45 additions and 45 deletions
|
|
@ -156,7 +156,7 @@ bool afxConstraintDef::parseSpec(const char* spec, bool runs_on_server,
|
|||
// move words to words2 while extracting #center and #history
|
||||
for (S32 i = 0; i < n_words; i++)
|
||||
{
|
||||
if (dStrcmp(words[i], "#center") == 0)
|
||||
if (String::compare(words[i], "#center") == 0)
|
||||
mPos_at_box_center = true;
|
||||
else if (dStrncmp(words[i], "#history(", 9) == 0)
|
||||
hist_spec = words[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue