Fixed playptmod obeying MOD restart position
parent
f090a8035c
commit
08453b00ae
|
@ -2616,7 +2616,7 @@ static void nextPosition(player *p)
|
||||||
|
|
||||||
p->modOrder++;
|
p->modOrder++;
|
||||||
if (p->modOrder >= p->source->head.orderCount)
|
if (p->modOrder >= p->source->head.orderCount)
|
||||||
p->modOrder = 0;
|
p->modOrder = (p->source->head.format == FORMAT_STK) ? 0 : p->source->head.restartPos;
|
||||||
|
|
||||||
p->modPattern = p->source->head.order[p->modOrder];
|
p->modPattern = p->source->head.order[p->modOrder];
|
||||||
|
|
||||||
|
@ -2905,7 +2905,7 @@ void playptmod_GetInfo(void *_p, playptmod_info *i)
|
||||||
{
|
{
|
||||||
order++;
|
order++;
|
||||||
if (order >= p->source->head.orderCount)
|
if (order >= p->source->head.orderCount)
|
||||||
order = p->source->head.restartPos;
|
order = (p->source->head.format == FORMAT_STK) ? 0 : p->source->head.restartPos;
|
||||||
|
|
||||||
row = p->PBreakPosition;
|
row = p->PBreakPosition;
|
||||||
pattern = p->source->head.order[order];
|
pattern = p->source->head.order[order];
|
||||||
|
|
Loading…
Reference in New Issue