Used reversed rather than __reversed__

This commit is contained in:
Caleb Deveraux 2010-10-04 15:55:17 +08:00 committed by David Vierra
parent b766af613c
commit 269af277d7

View File

@ -1374,7 +1374,7 @@ class InfdevChunk(MCLevel):
self.SkyLight[x,z,self.HeightMap[z,x]:128] = 15
lv = 15;
for y in xrange(self.HeightMap[z,x]).__reversed__():
for y in reversed(xrange(self.HeightMap[z,x])):
lv -= max(la[self.Blocks[x,z,y]], 1)
if lv <= 0: