| 734 |
|
the_bends[index].b = current_bend->getB() + offset; |
| 735 |
|
the_bends[index].c = current_bend->getC() + offset; |
| 736 |
|
|
| 737 |
< |
if( current_bend->haveExtras ){ |
| 737 |
> |
if( current_bend->haveExtras() ){ |
| 738 |
|
|
| 739 |
|
extras = current_bend->getExtras(); |
| 740 |
|
current_extra = extras; |
| 745 |
|
switch( current_extra->getType() ){ |
| 746 |
|
|
| 747 |
|
case 0: |
| 748 |
< |
the_bends[index].ghost = current_extra->getInt(); |
| 748 |
> |
the_bends[index].ghost = |
| 749 |
> |
current_extra->getInt() + offset; |
| 750 |
|
the_bends[index].isGhost = 1; |
| 751 |
|
break; |
| 752 |
|
|
| 753 |
|
case 1: |
| 754 |
< |
the_bends[index].ghost = (int)current_extra->getDouble(); |
| 754 |
> |
the_bends[index].ghost = |
| 755 |
> |
(int)current_extra->getDouble() + offset; |
| 756 |
|
the_bends[index].isGhost = 1; |
| 757 |
|
break; |
| 758 |
|
|
| 778 |
|
simError(); |
| 779 |
|
} |
| 780 |
|
|
| 781 |
< |
current_extra = current_extra->next; |
| 781 |
> |
current_extra = current_extra->getNext(); |
| 782 |
|
} |
| 783 |
|
} |
| 784 |
|
|