1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

games/colobot: fix build on ARM and PPC

PR:		241325
Approved by:	fernape (maintainer), linimon (mentor)
This commit is contained in:
Piotr Kubaj 2019-10-21 10:05:15 +00:00
parent ac4ae1fbde
commit 938d5100f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515096

View File

@ -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