-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
who broke spell_data
?
#70832
Labels
(S2 - Confirmed)
Bug that's been confirmed to exist
Comments
/confirmed broken by #70479 This check is flipped diff --git a/src/map.cpp b/src/map.cpp
index 34f4a70cd1..3d0d83a2ac 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -9715,7 +9715,7 @@ void map::creature_on_trap( Creature &c, const bool may_avoid ) const
// gliding or boarded in a vehicle means the player is above the trap
// like a flying monster and can never trigger the trap.
const Character *const you = c.as_character();
- if( you != nullptr && ( you->in_vehicle || !you->has_effect( effect_gliding ) ) ) {
+ if( you != nullptr && ( you->in_vehicle || you->has_effect( effect_gliding ) ) ) {
return;
}
In addition, tr_at is wrong (though unrelated) diff --git a/src/map.cpp b/src/map.cpp
index 34f4a70cd1..437547d95c 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -6099,7 +6099,7 @@ const trap &map::tr_at( const tripoint &p ) const
const trap &map::tr_at( const tripoint_abs_ms &p ) const
{
- return tr_at( p.raw() );
+ return tr_at( bub_from_abs( p ) );
}
const trap &map::tr_at( const tripoint_bub_ms &p ) const @fairyarmadillo |
Traveling through the green vortex doesn’t work either fun fact your just stuck there |
Merged
fixed by #70836 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
tr_portal_dungeon_next_level
, trap, used to advance you to the next level in portal dungeon, doesn't work anymoreAttach save file
DEBUGDEBUG-trimmed.tar.gz
Steps to reproduce
Debug spawn portal storm
teleport to blue vortex
step on it
nothing happens
Expected behavior
you teleport to green vortex
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Slowdown Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions],
SpeedyDex [speedydex],
Stats Through Kills [stats_through_kills],
Stats Through Skills [StatsThroughSkills],
Magiclysm [magiclysm],
Xedra Evolved [xedra_evolved]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: