diff --git a/assets/css/style.css b/assets/css/style.css index 9726f06..50199a8 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -19,7 +19,7 @@ body{ .map{ width: 1170px; - height: 658px; + height: 460px; border: solid 3px red; background: url(../img/bg_sand.png) repeat; position: absolute; diff --git a/assets/js/script.js b/assets/js/script.js index dba26d2..6b0a1cb 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -11,7 +11,7 @@ function move(event) { } } else if (k == 40) { y += 10; - if ( y == 650 ){ + if ( y == 460 ){ y -= 10; } }