Re: [bug r2622] Can't build extend station building in sliced view mode
Reply #1 –
Fix:
Index: simwerkz.cc
===================================================================
--- simwerkz.cc (revision 2622)
+++ simwerkz.cc (working copy)
@@ -2766,7 +2773,7 @@
sint8 rotation;
const haus_besch_t *besch=get_besch(rotation);
- if( grund_t::underground_mode==grund_t::ugm_all || (grund_t::underground_mode==grund_t::ugm_level && pos.z>=grund_t::underground_level) ) {
+ if( grund_t::underground_mode==grund_t::ugm_all || (grund_t::underground_mode==grund_t::ugm_level && pos.z > grund_t::underground_level) ) {
// in underground mode, buildings will be done invisible above ground => disallow such confusion
if( besch->get_utyp()!=haus_besch_t::generic_stop || besch->get_extra()==air_wt) {
return "Cannot built this station/building\nin underground mode here.";
Thank you for reporting!