fixed NP in Voice-Hint-Processing
This commit is contained in:
parent
56bdf76806
commit
372673be7a
1 changed files with 14 additions and 11 deletions
|
@ -148,6 +148,8 @@ public class VoiceHint
|
|||
{
|
||||
float lowerBadWayAngle = -181;
|
||||
float higherBadWayAngle = 181;
|
||||
if ( badWays != null )
|
||||
{
|
||||
for ( MessageData badWay : badWays )
|
||||
{
|
||||
if ( badWay.isBadOneway() )
|
||||
|
@ -163,6 +165,7 @@ public class VoiceHint
|
|||
higherBadWayAngle = badWay.turnangle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
float cmdAngle= angle;
|
||||
|
||||
|
|
Loading…
Reference in a new issue