mirror of
https://github.com/a2-4am/wozardry.git
synced 2024-06-02 14:41:30 +00:00
Compare commits
No commits in common. "03e7bdc116abf2e2bd95856446dda6edd9888c89" and "b07e018310a349059ce13e7b275339b721da9938" have entirely different histories.
03e7bdc116
...
b07e018310
|
@ -182,8 +182,8 @@ class Track(RawTrack):
|
|||
n += b << bit_index
|
||||
yield n
|
||||
|
||||
def rewind(self, bit_count=1):
|
||||
self.bit_index -= bit_count
|
||||
def rewind(self, bit_count):
|
||||
self.bit_index -= 1
|
||||
if self.bit_index < 0:
|
||||
self.bit_index = self.bit_count - 1
|
||||
self.revolutions -= 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user