Clarify purpose of the endRepeat opcude, used by video script.

svn-id: r27228
This commit is contained in:
Travis Howell 2007-06-09 06:17:04 +00:00
parent 14aa27c477
commit 48601a4e70

View File

@ -843,10 +843,7 @@ void AGOSEngine::vc19_loop() {
}
void AGOSEngine::vc20_setRepeat() {
/* FIXME: This opcode is somewhat strange: it first reads a BE word from
* the script (advancing the script pointer in doing so); then it writes
* back the same word, this time as LE, into the script.
*/
// Sets counter used by the endRepeat opcode below.
uint16 a = vcReadNextWord();
WRITE_LE_UINT16(const_cast<byte *>(_vcPtr), a);
_vcPtr += 2;