From a6f47f6c90df734438efaacba3a34fb29c15285f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 30 Oct 2017 09:11:47 +0100 Subject: [PATCH] fixed the last commit --- game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game.cpp b/game.cpp index eeb16c6d..6066f8ed 100644 --- a/game.cpp +++ b/game.cpp @@ -7261,8 +7261,8 @@ bool movepcto(int d, int subdir, bool checkonly) { addMessage(XLAT("You would get hurt!", c2->wall)); else if(cellEdgeUnstable(cwt.c) && cellEdgeUnstable(c2)) addMessage(XLAT("Gravity does not allow this!")); - else if(c2.c->wall == waChasm && c2.c->land == laDual) - addMessage(XLAT("You cannot move there!"); + else if(c2->wall == waChasm && c2->land == laDual) + addMessage(XLAT("You cannot move there!")); else { addMessage(XLAT("You cannot move through %the1!", c2->wall)); }