decomp: almost finish rigid-body stuck on symbol param from an event!

This commit is contained in:
Tyler Wilding
2021-08-07 17:31:29 -04:00
parent 20196852f5
commit ef81529855
5 changed files with 39 additions and 25 deletions
+2 -2
View File
@@ -655,8 +655,8 @@ void SimpleExpressionElement::update_from_stack_float_2(const Env& env,
auto type0 = env.get_types_before_op(m_my_idx).get(m_expr.get_arg(0).var().reg());
auto type1 = env.get_types_before_op(m_my_idx).get(m_expr.get_arg(1).var().reg());
throw std::runtime_error(
fmt::format("Floating point math attempted on invalid types: {} and {} in op {}.",
type0.print(), type1.print(), to_string(env)));
fmt::format("[OP: {}] - Floating point math attempted on invalid types: {} and {} in op {}.",
m_my_idx, type0.print(), type1.print(), to_string(env)));
}
}