X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Flibplomrogue.c;h=e8ff9ae950f7a90b05998cbf236d59e06232d1ed;hb=4929d981b03789f914a184f0aabe09bab8263473;hp=7cd76d9c80e2d80314a7371280febb6410de0835;hpb=3b6de6a3440290478dff65f5849241d57ae431fb;p=plomrogue diff --git a/src/server/libplomrogue.c b/src/server/libplomrogue.c index 7cd76d9..e8ff9ae 100644 --- a/src/server/libplomrogue.c +++ b/src/server/libplomrogue.c @@ -583,7 +583,7 @@ extern uint8_t zero_score_map_where_char_on_memdepthmap(char c, } extern void age_some_memdepthmap_on_nonfov_cells(char * memdepthmap, - char * fovmap) + char * fovmap) { uint32_t map_size = maplength * maplength; uint16_t pos; @@ -610,7 +610,9 @@ extern uint8_t set_cells_passable_on_memmap_to_65534_on_scoremap(char * mem_map) uint16_t pos; for (pos = 0; pos < map_size; pos++) { - if ('.' == mem_map[pos]) + char c = mem_map[pos]; // + if ('.' == c || ':' == c || '_' == c) // + //if ('.' == mem_map[pos]) { score_map[pos] = 65534; }