diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-01-13 09:12:42 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-01-13 09:12:42 -0800 |
commit | 0d8fb8ce2e6f161cdd6212ce9eafdcd2f14cfc11 (patch) | |
tree | 033e065151ad10dfc32121654f8505c4bc2ced7e /jc_stop-sleeping-on-tables.patch | |
parent | Updated to 2022-12-09-0202 (diff) | |
download | cataclysm-bn-0d8fb8ce2e6f161cdd6212ce9eafdcd2f14cfc11.tar.xz |
Updated to 2022-12-17-1221
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 @@ |