equal
deleted
inserted
replaced
1253 } |
1253 } |
1254 } |
1254 } |
1255 |
1255 |
1256 if (v->u.air.crashed_counter < 650) { |
1256 if (v->u.air.crashed_counter < 650) { |
1257 uint32 r; |
1257 uint32 r; |
1258 if (CHANCE16R(1,32,r)) { |
1258 if (Chance16R(1,32,r)) { |
1259 static const DirDiff delta[] = { |
1259 static const DirDiff delta[] = { |
1260 DIRDIFF_45LEFT, DIRDIFF_SAME, DIRDIFF_SAME, DIRDIFF_45RIGHT |
1260 DIRDIFF_45LEFT, DIRDIFF_SAME, DIRDIFF_SAME, DIRDIFF_45RIGHT |
1261 }; |
1261 }; |
1262 |
1262 |
1263 v->direction = ChangeDir(v->direction, delta[GB(r, 16, 2)]); |
1263 v->direction = ChangeDir(v->direction, delta[GB(r, 16, 2)]); |