mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-21 17:46:39 -05:00
Update src/dungeon_mon_recruit.c
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
This commit is contained in:
parent
d3fb261c88
commit
5b5ad607a3
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user