home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
7DRL: Add endgame.
[plomrogue]
/
src
/
server
/
libplomrogue.c
diff --git
a/src/server/libplomrogue.c
b/src/server/libplomrogue.c
index d0b15a10bc5d260f4fcf1fc75af6551863e01157..e8ff9ae950f7a90b05998cbf236d59e06232d1ed 100644
(file)
--- a/
src/server/libplomrogue.c
+++ b/
src/server/libplomrogue.c
@@
-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;
}