1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

Fire spreading is now simulated in the whole generated part of the world.

This commit is contained in:
Zeno Rogue
2017-09-03 00:33:35 +02:00
parent 42da061f2f
commit 5e0afffb63
5 changed files with 106 additions and 135 deletions

View File

@@ -2923,7 +2923,7 @@ void turn(int delta) {
if(items[itOrbFreedom])
for(int i=0; i<players; i++)
checkFreedom(pc[i]->base);
heat::processheat(delta / 350.0, tick);
heat::processheat(delta / 350.0);
markOrb(itOrbSpeed);
if((havewhat&HF_DRAGON) && curtime >= nextdragon) {
@@ -2946,7 +2946,7 @@ void turn(int delta) {
if(havewhat&HF_HEX) movehex(false);
wandering();
livecaves();
heat::dryforest();
heat::processfires();
if(havewhat&HF_WHIRLPOOL) whirlpool::move();
if(havewhat&HF_WHIRLWIND) whirlwind::move();
buildRosemap();