11-15-2012, 10:35 AM
Looking at world gembits with spawn groups attached.
This:
if !(strcmpi(*<more1>*,*spawn*))
Never returns true while:
if (strcmpi(*<more1>*,*spawn*))
returns true even when it's not.
<more1> contains "spawn_<dungeonname><lvl>"
So with the wildcards it should technically return true if the word spawn appears under more1.
So why doesn't it?
This:
if !(strcmpi(*<more1>*,*spawn*))
Never returns true while:
if (strcmpi(*<more1>*,*spawn*))
returns true even when it's not.
<more1> contains "spawn_<dungeonname><lvl>"
So with the wildcards it should technically return true if the word spawn appears under more1.
So why doesn't it?