mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 01:33:02 +00:00
relhell:: ads:: reduced the lifetime of player missiles
This commit is contained in:
@@ -20,6 +20,7 @@ void fire() {
|
|||||||
auto r = std::make_unique<ads_object> (oMissile, c, S1, rsrc_color[rtAmmo]);
|
auto r = std::make_unique<ads_object> (oMissile, c, S1, rsrc_color[rtAmmo]);
|
||||||
r->shape = &shape_missile;
|
r->shape = &shape_missile;
|
||||||
r->life_start = 0;
|
r->life_start = 0;
|
||||||
|
r->life_end = M_PI;
|
||||||
|
|
||||||
ads_matrix Scell(Id, 0);
|
ads_matrix Scell(Id, 0);
|
||||||
cell *lcell = hybrid::get_at(vctr, 0);
|
cell *lcell = hybrid::get_at(vctr, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user