diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-28 23:44:33 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-28 23:44:33 +0100 |
commit | 810bad9fd8cf344f7d73b82f042910a4c443b0f7 (patch) | |
tree | 642eb40736bd71d12edbe5cdc7afa1a70ffe7c36 /src/control/PathFind.h | |
parent | fix (diff) | |
download | re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.gz re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.bz2 re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.lz re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.xz re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.tar.zst re3-810bad9fd8cf344f7d73b82f042910a4c443b0f7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/PathFind.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/PathFind.h b/src/control/PathFind.h index acf9929a..99759590 100644 --- a/src/control/PathFind.h +++ b/src/control/PathFind.h @@ -120,7 +120,7 @@ struct CCarPathLink uint8 trafficLightDirection : 1; uint8 trafficLightType : 2; uint8 bBridgeLights : 1; // at least in LCS... - int8 width; + uint8 width; CVector2D GetPosition(void) { return CVector2D(x/8.0f, y/8.0f); } CVector2D GetDirection(void) { return CVector2D(dirX/100.0f, dirY/100.0f); } @@ -151,7 +151,7 @@ struct CPathInfoForObject int8 numLeftLanes; int8 numRightLanes; int8 speedLimit; - int8 width; + uint8 width; uint8 crossing : 1; uint8 onlySmallBoats : 1; @@ -177,7 +177,7 @@ struct CTempNode int16 link2; int8 numLeftLanes; int8 numRightLanes; - int8 width; + uint8 width; bool isCross; int8 linkState; }; @@ -188,7 +188,7 @@ struct CTempNodeExternal // made up name int16 next; int8 numLeftLanes; int8 numRightLanes; - int8 width; + uint8 width; bool isCross; }; |