mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-16 13:24:08 +00:00
ads-game:: do not generate rocks when shooting, so that it is faster
This commit is contained in:
parent
85816ca0bb
commit
b34fbba7b4
@ -50,7 +50,6 @@ void fire() {
|
|||||||
auto& ci = ci_at[c1];
|
auto& ci = ci_at[c1];
|
||||||
hybrid::in_underlying_geometry([&] {
|
hybrid::in_underlying_geometry([&] {
|
||||||
gen_terrain(c1, ci);
|
gen_terrain(c1, ci);
|
||||||
gen_rocks(c1, ci, 2);
|
|
||||||
});
|
});
|
||||||
if(among(ci.type, wtSolid, wtDestructible)) {
|
if(among(ci.type, wtSolid, wtDestructible)) {
|
||||||
r->life_end = t;
|
r->life_end = t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user