mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
Autoplay: fix types for prairie::enter check
This commit is contained in:
parent
042b95a8bb
commit
afa97376eb
@ -9,7 +9,7 @@ namespace hr {
|
||||
bool doAutoplay;
|
||||
eLand autoplayLand;
|
||||
|
||||
namespace prairie { extern long long enter; }
|
||||
namespace prairie { extern cell *enter; }
|
||||
|
||||
bool sameland(eLand ll, eLand ln) {
|
||||
if(ln == laBarrier || ln == laOceanWall)
|
||||
@ -210,7 +210,7 @@ void noteUnusualSituations()
|
||||
|
||||
bool isAnythingWrong()
|
||||
{
|
||||
long long ienter = (long long) prairie::enter;
|
||||
uintptr_t ienter = (uintptr_t) prairie::enter;
|
||||
if(ienter && ienter < 100000) {
|
||||
printf("ERROR: prairie::enter has incorrect value\n");
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user