diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-10-21 10:05:15 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-10-21 10:05:15 +0000 |
commit | 938d5100f55b7bb12b0183e9351ca3e50a6a36de (patch) | |
tree | a8895c550c8a2c446d2449867f8fb95e9dbff335 /games/colobot/files | |
parent | ac4ae1fbde054f480fec789b76d4b853d2e23709 (diff) | |
download | ports-938d5100f55b7bb12b0183e9351ca3e50a6a36de.tar.gz ports-938d5100f55b7bb12b0183e9351ca3e50a6a36de.zip |
Notes
Diffstat (limited to 'games/colobot/files')
-rw-r--r-- | games/colobot/files/patch-src_object_task_taskgoto.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/colobot/files/patch-src_object_task_taskgoto.h b/games/colobot/files/patch-src_object_task_taskgoto.h new file mode 100644 index 000000000000..1ed370fc0815 --- /dev/null +++ b/games/colobot/files/patch-src_object_task_taskgoto.h @@ -0,0 +1,11 @@ +--- src/object/task/taskgoto.h.orig 2019-10-18 08:14:46 UTC ++++ src/object/task/taskgoto.h +@@ -147,7 +147,7 @@ class CTaskGoto : public CForegroundTask (protected) + int m_bmTotal = 0; // number of points in m_bmPoints + int m_bmIndex = 0; // index in m_bmPoints + Math::Vector m_bmPoints[MAXPOINTS+2]; +- char m_bmIter[MAXPOINTS+2] = {}; ++ signed char m_bmIter[MAXPOINTS+2] = {}; + int m_bmIterCounter = 0; + CObject* m_bmCargoObject = nullptr; + float m_bmFinalMove = 0.0f; // final advance distance |