Skip to content

Commit 5438baf

Browse files
committed
Remove confusing comment from looks_switchcostumeto
1 parent f7aebef commit 5438baf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/blocks/looksblocks.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ extern "C" void looks_switchcostumeto(Target *target, const ValueData *costume)
352352
looks_previouscostume(target);
353353
// Try to cast the string to a number (and treat it as a costume index)
354354
// Pure whitespace should not be treated as a number
355-
// Note: isNaN will cast the string to a number before checking if it's NaN
356355
} else if (value_isValidNumber(costume) && !isWhiteSpace)
357356
looks_set_costume_by_index(target, value_toLong(costume) - 1);
358357
}

0 commit comments

Comments
 (0)