diff options
Diffstat (limited to 'pacman-c++/mainwidget.cpp')
| -rw-r--r-- | pacman-c++/mainwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.cpp b/pacman-c++/mainwidget.cpp index 42abd01..daba1ca 100644 --- a/pacman-c++/mainwidget.cpp +++ b/pacman-c++/mainwidget.cpp | |||
| @@ -154,6 +154,7 @@ void MainWidget::tick() | |||
| 154 | QList<Color::Color> order; | 154 | QList<Color::Color> order; |
| 155 | for(int i = 0; i < m_updatepacket.eating_order_size(); ++i) | 155 | for(int i = 0; i < m_updatepacket.eating_order_size(); ++i) |
| 156 | order.append(static_cast<Color::Color>(m_updatepacket.eating_order(i) & Transmission::color_mask)); | 156 | order.append(static_cast<Color::Color>(m_updatepacket.eating_order(i) & Transmission::color_mask)); |
| 157 | m_scene->setEatingOrder(order); | ||
| 157 | } | 158 | } |
| 158 | 159 | ||
| 159 | Transmission::map_t map = Util::createUninitialisedMap(); | 160 | Transmission::map_t map = Util::createUninitialisedMap(); |
