summaryrefslogtreecommitdiff
path: root/src-17_monsters-can-go-down-ramps.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2025-01-18 21:46:00 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2025-01-18 21:46:00 -0800
commit7e224c97ae2728472180322f625dafa545f21f7f (patch)
tree61a296000b3a05d36cde4de0d8bd5e5179ee21ab /src-17_monsters-can-go-down-ramps.patch
parentAdd plastic scrap is stackable patch. (diff)
downloadcataclysm-bn-7e224c97ae2728472180322f625dafa545f21f7f.tar.xz
Convert the PKGBUILD to my own fork of cataclysm-bn.HEADmaster
Diffstat (limited to 'src-17_monsters-can-go-down-ramps.patch')
-rw-r--r--src-17_monsters-can-go-down-ramps.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/src-17_monsters-can-go-down-ramps.patch b/src-17_monsters-can-go-down-ramps.patch
deleted file mode 100644
index a8c3588..0000000
--- a/src-17_monsters-can-go-down-ramps.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/src/monmove.cpp
-+++ b/src/monmove.cpp
-@@ -244,6 +244,9 @@
- return false;
- }
- } else if( p.z < pos().z && z_is_valid( pos().z ) ) {
-+ if( here.has_flag( TFLAG_RAMP_DOWN, tripoint( p.xy(), p.z + 1 ) ) ) {
-+ return true;
-+ }
- if( !here.has_flag( TFLAG_GOES_DOWN, pos() ) ) {
- // can't go through the floor
- // you would fall anyway if there was no floor, so no need to check for that here