diff options
| author | manuel <manuel@mausz.at> | 2011-04-19 20:41:05 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-19 20:41:05 +0200 |
| commit | ecd74970a9c9d41637289b3186ae1ffed1d2f7e2 (patch) | |
| tree | 885eb8576747162c791eef17c86d58582b66ac92 /pacman-c++ | |
| parent | a2a5cf8181121091c7a67bdfa14e076d2026a1a5 (diff) | |
| download | foop-ecd74970a9c9d41637289b3186ae1ffed1d2f7e2.tar.gz foop-ecd74970a9c9d41637289b3186ae1ffed1d2f7e2.tar.bz2 foop-ecd74970a9c9d41637289b3186ae1ffed1d2f7e2.zip | |
forgot a small api call
Diffstat (limited to 'pacman-c++')
| -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(); |
