HDB: Fix compilation

This commit is contained in:
Eugene Sandulenko 2019-07-03 13:07:19 +02:00
parent 4622fb3b80
commit ce06f4eb9e

View File

@ -1424,7 +1424,7 @@ void aiMagicEggUse(AIEntity *e) {
int i = 0;
AIEntity *spawned = NULL;
while (aiEntList[i].type != END_AI_TYPES) {
if (!_stricmp(aiEntList[i].luaName, e->luaFuncAction)) {
if (!scumm_stricmp(aiEntList[i].luaName, e->luaFuncAction)) {
spawned = g_hdb->_ai->spawn(aiEntList[i].type, e->dir, e->tileX, e->tileY, NULL, NULL, NULL, DIR_NONE, e->level, 0, 0, 1);
break;
}