DCurrent / openbor

OpenBOR is the ultimate 2D side scrolling engine for beat em' ups, shooters, and more!
http://www.chronocrash.com
BSD 3-Clause "New" or "Revised" License
894 stars 119 forks source link

Invalid projectile reference and enum assignment #305

Closed SumolX closed 3 months ago

SumolX commented 3 months ago

Compiler reported unused variable, however I believe the intent was to populate the entities projectile parameter. Fixed water_mode assignment, previous assignment was from e_blend_mode which is invalid and can produce an unknown result between enum types for water_mode and blend_mode.