X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2Fgoal.cpp;h=abac4679dcbb93f822f7e54339e9c930071c5d5b;hp=65de6c0c78317ab43e16e788cc6f023dce2e62cc;hb=96b12298b5aacfdd8564eb3eeff7fef453b9c8a0;hpb=00f55d5b55ff993d2516f00f8d635887562983c7 diff --git a/src/creature/goal.cpp b/src/creature/goal.cpp index 65de6c0..abac467 100644 --- a/src/creature/goal.cpp +++ b/src/creature/goal.cpp @@ -340,7 +340,7 @@ void IngestGoal::Action() { } bool IngestGoal::OnSuitableTile() { - if (!GetSituation().OnSurface()) { + if (!GetSituation().OnGround()) { return false; } const world::TileType &t = GetSituation().GetTileType();