diff options
Diffstat (limited to 'pacman-c++/mainwidget.h')
| -rw-r--r-- | pacman-c++/mainwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h index cbc195e..a316d9e 100644 --- a/pacman-c++/mainwidget.h +++ b/pacman-c++/mainwidget.h | |||
| @@ -56,6 +56,9 @@ private: | |||
| 56 | 56 | ||
| 57 | QTcpSocket *m_socket; | 57 | QTcpSocket *m_socket; |
| 58 | SceneHolder *m_scene; | 58 | SceneHolder *m_scene; |
| 59 | |||
| 60 | /* allocate as member variable as this packet is large and used often */ | ||
| 61 | ProtoBuf::MapUpdate m_updatepacket; | ||
| 59 | }; | 62 | }; |
| 60 | 63 | ||
| 61 | #endif // MAINWIDGET_H | 64 | #endif // MAINWIDGET_H |
