replaced AV::Sound::pause() with AV::Sound::resume() -- play and loop now rewind but resume does not
git-svn-id: svn://anubis/anaglym/trunk@291 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
d4d44dea86
commit
5bed8a2dfd
6 files changed
+11
-11
No files matched your search
@@ -42,10 +42,10 @@ function key_down_event(key)
|
||||
ag.clearEventHandler("mouse_motion")
|
||||
elseif (key == "p") then
|
||||
if (playing) then
|
||||
iris:pause()
|
||||
iris:stop()
|
||||
playing = false
|
||||
else
|
||||
iris:play()
|
||||
iris:resume()
|
||||
playing = true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user