dungeon_crawler
diff prototype/src/main.cc @ 51:d57df51f6b50
- fixed audio panning (listener direction)
- particles had no fog
- sound sources were not destroyed properly
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 18 Sep 2012 09:40:56 +0300 |
parents | c40efa9cf844 |
children | bcdea26c8f27 |
line diff
1.1 --- a/prototype/src/main.cc Tue Sep 18 04:45:46 2012 +0300 1.2 +++ b/prototype/src/main.cc Tue Sep 18 09:40:56 2012 +0300 1.3 @@ -143,16 +143,16 @@ 1.4 1.5 void cleanup() 1.6 { 1.7 - if(cfg.sound) { 1.8 - delete move_sound; 1.9 - destroy_audio(); 1.10 - } 1.11 - 1.12 delete level; 1.13 delete tileset; 1.14 delete rend; 1.15 1.16 cleanup_cmdcon(); 1.17 + 1.18 + if(cfg.sound) { 1.19 + delete move_sound; 1.20 + destroy_audio(); 1.21 + } 1.22 } 1.23 1.24 void idle()