mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Rename _countof to sizeOfArray (#921)
This commit is contained in:

committed by
GitHub

parent
95ed90aacb
commit
e32e06321a
@@ -492,7 +492,7 @@ void Isle::Enable(MxBool p_enable)
|
||||
for (MxU32 i = 0; i < 5; i++) {
|
||||
MxS32 r = rand() % 5;
|
||||
|
||||
for (MxU32 j = 0; j < _countof(locations); j++) {
|
||||
for (MxU32 j = 0; j < sizeOfArray(locations); j++) {
|
||||
if (locations[j] != 0 && r-- == 0) {
|
||||
AnimationManager()->AddExtra(locations[j], TRUE);
|
||||
locations[j] = 0;
|
||||
|
Reference in New Issue
Block a user