ru:: attack effects now use the correct weapon for gfx

This commit is contained in:
Zeno Rogue
2025-12-22 14:28:46 +01:00
parent e83efe35fa
commit 0eba87676e
+1 -1
View File
@@ -252,7 +252,7 @@ void man::draw() {
for(auto& e: effects) {
ld t = gframeid - e.attack_when;
if(t < 50) {
auto col = find_power("dagger").get_color();
auto col = e.p->get_color();
auto& alpha = part(col, 0);
alpha = max<int> (0, alpha - 5 * t);
auto box = e.f(t);