fix Ep2 Sinow child entity handling
This commit is contained in:
+4
-1
@@ -417,7 +417,10 @@ void Map::add_enemy(
|
|||||||
this->add_enemy(floor, EnemyType::EPSIGUARD);
|
this->add_enemy(floor, EnemyType::EPSIGUARD);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this->add_enemy(floor, (e.uparam1 & 0x01) ? EnemyType::SINOW_ZELE : EnemyType::SINOW_ZOA);
|
EnemyType type = (e.uparam1 & 0x01) ? EnemyType::SINOW_ZELE : EnemyType::SINOW_ZOA;
|
||||||
|
for (size_t z = 0; z < e.num_children + 1; z++) {
|
||||||
|
this->add_enemy(floor, type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0xE1:
|
case 0xE1:
|
||||||
|
|||||||
Reference in New Issue
Block a user