Skip to content

Commit

Permalink
Make [AV]sequence compile in OpenSim and include it in Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sei-Lisa committed Nov 23, 2017
1 parent 216d9fb commit cd6b338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions AVsitter2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ OPENSIM=[AV]sitA.oss\
Plugins/AVprop/[AV]menu.oss\
Plugins/AVprop/[AV]object.oss\
Plugins/AVprop/[AV]prop.oss\
Plugins/AVsequence/[AV]sequence.oss\
Utilities/Anim-perm-checker.oss\
Utilities/AVpos-generator.oss\
Utilities/AVpos-shifter.oss\
Expand Down
4 changes: 2 additions & 2 deletions AVsitter2/Plugins/AVsequence/[AV]sequence.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ stop_sequence(integer stopSound)
sequence_running = FALSE;
SEQUENCE_POINTER = -1;
llSetTimerEvent(0);
if (stopSound && ~llListFindList(CURRENT_SEQUENCE_ACTIONS, ["SOUND"]))
if (stopSound && llListFindList(CURRENT_SEQUENCE_ACTIONS, ["SOUND"]) != -1)
{
llStopSound();
}
Expand Down Expand Up @@ -365,7 +365,7 @@ state running
if (index != -1)
{
start_sequence(index);
if (~llListFindList(CURRENT_SEQUENCE_ACTIONS, ["WAIT"]) && ~llListFindList(CURRENT_SEQUENCE_ACTIONS, ["PLAY"]))
if (llListFindList(CURRENT_SEQUENCE_ACTIONS, ["WAIT"]) != -1 && llListFindList(CURRENT_SEQUENCE_ACTIONS, ["PLAY"]) != -1)
{
sequence_control();
}
Expand Down

0 comments on commit cd6b338

Please sign in to comment.