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:
Josh Holtrop committed 2010-06-24 03:10:44 +00:00
1 parent d4d44dea86
commit 5bed8a2dfd
6 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -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