Fix a should've-been-obvious mistake

master
khonkhortisan 2013-03-31 15:14:49 -07:00
parent 317c6b5d7d
commit a34e1e894a
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ function axisRotate(facedir, turnaxis, turnrot)
end
elseif turnaxis == 3 then --z
if 1 == axis or axis == 2 then
if axis == 4 then turnrot = -turnrot end
if axis == 2 then turnrot = -turnrot end
rot = (rot + turnrot) % 4
else
for r = 0, turnrot-1 do