1
0
forked from 0ad/0ad

Small code style fix

This was SVN commit r14527.
This commit is contained in:
sanderd17 2014-01-06 20:13:55 +00:00
parent b4fa090435
commit 8cc1ddf6de

View File

@ -503,7 +503,7 @@ function onSimulationUpdate()
function updateGUIStatusBar(nameOfBar, points, maxPoints, direction)
{
// check, if optional direction parameter is valid.
if (!direction || !(direction>=0 && direction<4))
if (!direction || !(direction >= 0 && direction < 4))
direction = 0;
// get the bar and update it