Fix leftover (#4074)
This commit is contained in:
parent
80e6ca1df0
commit
0bdc0b2aa5
@ -6,7 +6,7 @@
|
||||
// still has them in the ROM. This is because the developers forgot
|
||||
// to define NDEBUG before release, however this has been changed as
|
||||
// Ruby's actual debug build does not use the AGBPrint features.
|
||||
// #define NDEBUG
|
||||
#define NDEBUG
|
||||
|
||||
// To enable printf debugging, comment out "#define NDEBUG". This allows
|
||||
// the various AGBPrint functions to be used. (See include/gba/isagbprint.h).
|
||||
|
||||
@ -861,8 +861,6 @@ u32 NoOfHitsForTargetToFaintAI(u32 battlerDef, u32 battlerAtk)
|
||||
{
|
||||
if (currNumberOfHits < leastNumberOfHits)
|
||||
leastNumberOfHits = currNumberOfHits;
|
||||
else if (leastNumberOfHits == UNKNOWN_NO_OF_HITS)
|
||||
leastNumberOfHits = currNumberOfHits;
|
||||
}
|
||||
}
|
||||
return leastNumberOfHits;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user