Fix a rogue get_map_cell call. (#3262)

Replaces a rogue get_map_cell() with TRANSLATE_COORD. Seems to slightly speed up asteroid gen?
This commit is contained in:
Lohikar
2017-08-11 18:26:07 +03:00
committed by Erki
parent 4544637b48
commit cde0531a06
+1 -1
View File
@@ -78,7 +78,7 @@
map[TRANSLATE_COORD(x+isize,y)] \
)/2)
map[get_map_cell(x,y+hsize)] = round(( \
map[TRANSLATE_COORD(x,y+hsize)] = round(( \
map[TRANSLATE_COORD(x,y+isize)] + \
map[TRANSLATE_COORD(x,y)] \
)/2)