Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 9 | ||
---|---|---|---|
Line 206... | Line 206... | ||
206 | ent_ents[e].step_count++; |
206 | ent_ents[e].step_count++; |
207 | 207 | ||
208 | /* FIXME why trig_x (b16) ?? */ |
208 | /* FIXME why trig_x (b16) ?? */ |
209 | if ((ent_ents[e].trig_x >> 1) > ent_ents[e].step_count) |
209 | if ((ent_ents[e].trig_x >> 1) > ent_ents[e].step_count) |
210 | return; |
210 | return; |
211 | } |
- | |
212 | 211 | ||
213 | /* type is 1A and step counter reached its limit: u-turn */ |
212 | /* type is 1A and step counter reached its limit: u-turn */ |
214 | ent_ents[e].step_count = 0; |
213 | ent_ents[e].step_count = 0; |
215 | ent_ents[e].offsx = -ent_ents[e].offsx; |
214 | ent_ents[e].offsx = -ent_ents[e].offsx; |
- | 215 | } |
|
216 | #undef offsx |
216 | #undef offsx |
217 | #undef step_count |
217 | #undef step_count |
218 | } |
218 | } |
219 | 219 | ||
220 | 220 |