Pārlūkot izejas kodu

Merge branch 'master' of https://github.com/buxx/OpenCombat

Bastien Sevajol 6 gadus atpakaļ
vecāks
revīzija
acd332200d
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      opencombat/gui/base.py

+ 3 - 1
opencombat/gui/base.py Parādīt failu

@@ -167,8 +167,10 @@ class TileLayerManager(LayerManager):
167 167
         self.ground_layer.set_view(
168 168
             0, 0, self.ground_layer.px_width, self.ground_layer.px_height,
169 169
         )
170
+        # TODO BS 2018-06-14: We have to move this layer to be correct.
171
+        # but some trees disapears ... wtf ?
170 172
         self.top_layer.set_view(
171
-            0, 0, self.top_layer.px_width, self.top_layer.px_height,
173
+            28, 28, self.top_layer.px_width, self.top_layer.px_height,
172 174
         )
173 175
 
174 176