diff options
Diffstat (limited to 'src-13_searchlights-with-plut-gen-furn.patch')
-rw-r--r-- | src-13_searchlights-with-plut-gen-furn.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src-13_searchlights-with-plut-gen-furn.patch b/src-13_searchlights-with-plut-gen-furn.patch new file mode 100644 index 0000000..d18ec30 --- /dev/null +++ b/src-13_searchlights-with-plut-gen-furn.patch @@ -0,0 +1,12 @@ +--- a/src/monattack.cpp ++++ b/src/monattack.cpp +@@ -3552,7 +3552,8 @@ + for( int x = zposx - 24; x < zposx + 24; x++ ) { + for( int y = zposy - 24; y < zposy + 24; y++ ) { + tripoint dest( x, y, z->posz() ); +- if( g->m.ter( dest ) == ter_str_id( "t_plut_generator" ) ) { ++ if( ( g->m.ter( dest ) == ter_str_id( "t_plut_generator" ) ) || ++ ( g->m.furn( dest ) == furn_str_id( "f_grid_plut_generator" ) ) ) { + generator_ok = true; + } + } |