投稿者 トピック: [r3426以降] マップ周辺部のワールドビューが表示されない  (参照数 2647 回)

z9999+

  • 管理人
  • 急行
  • *
  • 投稿: 381
メッセージウィンドウや情報ウィンドウで、マップ周辺部のワールドビューが表示されない。
またそれが原因で、クリッピングエラーが発生する。

コード: [選択]
Index: gui/components/gui_world_view_t.cc
===================================================================
--- gui/components/gui_world_view_t.cc (リビジョン 3447)
+++ gui/components/gui_world_view_t.cc (作業コピー)
@@ -113,7 +113,7 @@
  if (off_x + raster < 0 || gr.x < off_x) continue;
 
  grund_t const* const kb = welt->lookup_kartenboden(k);
- if (!kb) return;
+ if (!kb) continue;
 
  sint16 const yypos = display_off.y + (off.y + off.x) * 16 * raster / 64 - tile_raster_scale_y(kb->get_hoehe() * TILE_HEIGHT_STEP / Z_TILE_STEP, raster);
  if (gr.y < yypos + raster / 4) {


r3465で修正されました。
« 最終編集: 2010/06/22 20:49 by z9999+ »