summaryrefslogtreecommitdiffstats
path: root/js/mapspecs.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/mapspecs.js')
-rw-r--r--js/mapspecs.js20
1 files changed, 1 insertions, 19 deletions
diff --git a/js/mapspecs.js b/js/mapspecs.js
index 30a8ec7..0946dee 100644
--- a/js/mapspecs.js
+++ b/js/mapspecs.js
@@ -129,7 +129,7 @@ function grid_click(obj) {
obj.cv = true;
childdiv.removeAttribute("class");
- childdiv.setAttribute("class", "grid_td_walls");
+ childdiv.setAttribute("class", "grid_td_walls");
if (typeof playerWallColor === 'undefined' || playerWallColor == '')
obj.style.backgroundColor = '#666666';
else
@@ -728,9 +728,6 @@ function dullColor(colorAsHex, value) {
r = parseInt(r);
g = parseInt(g);
b = parseInt(b);
- // r = r + value;
- // g = g + value;
- // b = b + value;
return rgbToHex(r, g, b);
}
@@ -795,18 +792,3 @@ for (i=0;i<ARRcookies.length;i++)
}
return "";
}
-
-
-//== Outdated functions
-var de = false;
-function displaymap(obj) {
- if (de == false) {
- obj.setAttribute('class', 'mapdisplay_up');
- }
-}
-function minmap(obj) {
- de = true;
- obj.setAttribute('class', 'mapdisplay');
- setTimeout("de = false;", 1000);
-}
-//== End