fixed NP in Voice-Hint-Processing
This commit is contained in:
parent
56bdf76806
commit
372673be7a
@ -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…
x
Reference in New Issue
Block a user