From 64dbf5cdd5c16ab6ccdadcfd66949aba5b8fa1e2 Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Sun, 25 Nov 2018 18:02:18 +0100 Subject: Bugfix: minutes were not being retrieved from PLT files. Game.c: parking slots cannot be selected if an aircraft in STATE_PARKED state is on it. Other fixes and improvements. Added some tiles from TILESET2.TIM --- Source/MapEditor/mygraphicsscene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/MapEditor/mygraphicsscene.cpp') diff --git a/Source/MapEditor/mygraphicsscene.cpp b/Source/MapEditor/mygraphicsscene.cpp index e108375..d0241ae 100644 --- a/Source/MapEditor/mygraphicsscene.cpp +++ b/Source/MapEditor/mygraphicsscene.cpp @@ -15,7 +15,7 @@ void MyGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent) { QGraphicsItem *it = this->itemAt(mouseEvent->scenePos(), QTransform()); - if (it != NULL) + if (it != nullptr) { emit positionClicked(mouseEvent->scenePos()); } -- cgit v1.2.3