diff options
Diffstat (limited to 'jc_stop-sleeping-on-tables.patch')
-rw-r--r-- | jc_stop-sleeping-on-tables.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jc_stop-sleeping-on-tables.patch b/jc_stop-sleeping-on-tables.patch index d60e950..eb3dc41 100644 --- a/jc_stop-sleeping-on-tables.patch +++ b/jc_stop-sleeping-on-tables.patch @@ -1,6 +1,6 @@ ---- a/src/character.cpp -+++ b/src/character.cpp -@@ -5328,20 +5328,24 @@ +--- a/src/character_functions.cpp ++++ b/src/character_functions.cpp +@@ -215,20 +215,24 @@ } } // Not in a vehicle, start checking furniture/terrain/traps at this point in decreasing order @@ -28,7 +28,7 @@ - comfort += 0 + trap_at_pos.comfort; } else { // Not a comfortable sleeping spot - comfort -= g->m.move_cost( p ); + comfort -= here.move_cost( p ); --- a/src/mapdata.h +++ b/src/mapdata.h @@ -407,7 +407,7 @@ |