mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-31 17:39:03 +00:00
ru:: attack effects now use the correct weapon for gfx
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user