Skip to content

Commit fb62ed4

Browse files
committed
Update test2.html
1 parent 21fa3fd commit fb62ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
for (j = 0; j < myCastles.length; j += 1) {
174174
if ( 1) {
175175
for (i = 0; i < myArrows.length; i += 1) {
176-
if (myArrows[i].active and myCastles[j].crashWith(myArrows[i])) {
176+
if (myArrows[i].active && myCastles[j].crashWith(myArrows[i])) {
177177
myArrows[i].active=0;
178178
myCastles[j].active = myCastles[j].active - 1;
179179
myCastles[j].image.src = "castle_" + myCastles[j].active.toString() + ".gif"

0 commit comments

Comments
 (0)