Update src/dungeon_mon_recruit.c

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
This commit is contained in:
DizzyEggg 2025-10-17 19:50:19 +02:00 committed by GitHub
parent d3fb261c88
commit 5b5ad607a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ bool8 TryRecruitMonster(Entity *attacker, Entity *target)
if (rand >= recruitRate)
return FALSE;
for (i = 0; i <= (6 - size); i++) {
for (i = 0; i <= (MAX_TEAM_BODY_SIZE - size); i++) {
s32 j;
for (j = 0; j < size; j++) {
if (gUnknown_202EE70[i + j] != 0)