diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-25 18:02:18 +0100 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2018-11-25 18:02:18 +0100 |
| commit | 64dbf5cdd5c16ab6ccdadcfd66949aba5b8fa1e2 (patch) | |
| tree | d408c06ac5573c35eaee8fd451114fd73acde2f8 /Source/MapEditor/mygraphicsscene.cpp | |
| parent | 135a1e93cb9b3a859c4269a94ababe33b3558f9a (diff) | |
| download | airport-64dbf5cdd5c16ab6ccdadcfd66949aba5b8fa1e2.tar.gz | |
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
Diffstat (limited to 'Source/MapEditor/mygraphicsscene.cpp')
| -rw-r--r-- | Source/MapEditor/mygraphicsscene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |
