Java, 2d array of boolean values && comparison
<p>This is back to the beginning of Java 101, but I have this code here:</p>

<pre><code>    if ((d==3)&amp;&amp;(City.walls[x--][y])){
        System.out.println ("Fourth Condition true");
        System.out.println (City.walls[x--][y]);
        return false;
    }
</code></pre>

<p>Even if <code>City.walls[x--][y]</code>) is false, and <code>System.out.println</code> confirms this by printing out false, it will still enter the if statement, no matter what. What am I doing wrong with the comparison? Thanks in advance.</p>
