diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2025-01-18 21:46:00 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2025-01-18 21:46:00 -0800 |
commit | 7e224c97ae2728472180322f625dafa545f21f7f (patch) | |
tree | 61a296000b3a05d36cde4de0d8bd5e5179ee21ab /src-07_allow-hacker-laptop.patch | |
parent | Add plastic scrap is stackable patch. (diff) | |
download | cataclysm-bn-7e224c97ae2728472180322f625dafa545f21f7f.tar.xz |
Diffstat (limited to 'src-07_allow-hacker-laptop.patch')
-rw-r--r-- | src-07_allow-hacker-laptop.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src-07_allow-hacker-laptop.patch b/src-07_allow-hacker-laptop.patch deleted file mode 100644 index 07f44ba..0000000 --- a/src-07_allow-hacker-laptop.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/src/game.cpp -+++ b/src/game.cpp -@@ -224,6 +224,7 @@ - - static const itype_id itype_battery( "battery" ); - static const itype_id itype_grapnel( "grapnel" ); -+static const itype_id itype_hackerlaptop( "hacker_laptop" ); - static const itype_id itype_holybook_bible1( "holybook_bible1" ); - static const itype_id itype_holybook_bible2( "holybook_bible2" ); - static const itype_id itype_holybook_bible3( "holybook_bible3" ); -@@ -2501,7 +2502,8 @@ - remoteveh_cache_time = calendar::turn; - std::stringstream remote_veh_string( u.get_value( "remote_controlling_vehicle" ) ); - if( remote_veh_string.str().empty() || -- ( !u.has_active_bionic( bio_remote ) && !u.has_active_item( itype_remotevehcontrol ) ) ) { -+ ( !u.has_active_bionic( bio_remote ) && !u.has_active_item( itype_remotevehcontrol ) -+ && !u.has_active_item( itype_hackerlaptop ) ) ) { - remoteveh_cache = nullptr; - } else { - tripoint vp; -@@ -2521,7 +2523,7 @@ - remoteveh_cache_time = calendar::turn; - remoteveh_cache = veh; - if( veh != nullptr && !u.has_active_bionic( bio_remote ) && -- !u.has_active_item( itype_remotevehcontrol ) ) { -+ !u.has_active_item( itype_remotevehcontrol ) && !u.has_active_item( itype_hackerlaptop ) ) { - debugmsg( "Tried to set remote vehicle without bio_remote or remotevehcontrol" ); - veh = nullptr; - } |