Japanese Simutrans Forum

日本語simutransフォーラム => バグレポート => 解決されたバグ => トピック開設者: z9999+ さんの発言 2010/05/17 21:31

トピック名: [r3257以降] トラム軌道の上に道路を建設すると踏切になる
投稿者: z9999+ さんの発言 2010/05/17 21:31
不具合

修正案。自信なし。

dataobj/dingliste.cc:451-
引用
      weg_t const* const w   = ding_cast<weg_t>(obj.some[0]);
      uint8        const pos = w && w->get_waytype() ? 1 : 0;


引用
      weg_t const* const w   = ding_cast<weg_t>(obj.some[0]);
      weg_t const* const w2   = ding_cast<weg_t>(ding);
      uint8        const pos = w && w2->get_waytype() > w->get_waytype() ? 1 : 0;