Apply transparency to Hoard Orb if effect activated

This commit is contained in:
zicodxx 2010-11-08 23:39:53 +01:00
parent ca312dd5bb
commit 583d035b89
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20101108
--------
arch/ogl/ogl.c: Apply transparency to Hoard Orb if effect activated
20101101
--------
main/newmenu.c: In case listbox strings are too long for screen, fit box width to screen width, shorten strings and add a scroll effect to selected item

View file

@ -820,7 +820,8 @@ bool g3_draw_bitmap(vms_vector *pos,fix width,fix height,grs_bitmap *bm, int ori
obj->id==POW_ENERGY || // energy powerup
obj->id==POW_SHIELD_BOOST || // shield boost
obj->id==POW_CLOAK || // cloak
obj->id==POW_INVULNERABILITY)) // invulnerability
obj->id==POW_INVULNERABILITY || // invulnerability
obj->id==POW_HOARD_ORB)) // Hoard Orb
glColor4f(1.0,1.0,1.0,0.6); // ... with 0.6 alpha
else
glColor3f(1.0,1.0,1.0);