浏览代码

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

Bastien Sevajol 7 年前
父节点
当前提交
acd332200d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      opencombat/gui/base.py

+ 3 - 1
opencombat/gui/base.py 查看文件

167
         self.ground_layer.set_view(
167
         self.ground_layer.set_view(
168
             0, 0, self.ground_layer.px_width, self.ground_layer.px_height,
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
         self.top_layer.set_view(
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