mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-10 15:59:53 +00:00
disable setdist in afterplayermoved in racing
This commit is contained in:
parent
bfe78fece7
commit
90926c3bc6
1
game.cpp
1
game.cpp
@ -4670,6 +4670,7 @@ EX void killThePlayerAt(eMonster m, cell *c, flagtype flags) {
|
|||||||
|
|
||||||
EX void afterplayermoved() {
|
EX void afterplayermoved() {
|
||||||
pregen();
|
pregen();
|
||||||
|
if(!racing::on)
|
||||||
setdist(cwt.at, 7 - getDistLimit() - genrange_bonus, NULL);
|
setdist(cwt.at, 7 - getDistLimit() - genrange_bonus, NULL);
|
||||||
prairie::treasures();
|
prairie::treasures();
|
||||||
if(generatingEquidistant) {
|
if(generatingEquidistant) {
|
||||||
|
Loading…
Reference in New Issue
Block a user