ac audio architecture refactoring

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3760 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-11-25 22:50:35 +00:00
parent f515200c37
commit 74e1468ee3
25 changed files with 4519 additions and 4184 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ void entproperty(int prop, int amount)
switch(e.type)
{
case LIGHT: calclight(); break;
case SOUND: preloadmapsound(e);
case SOUND: audiomgr.preloadmapsound(e);
}
}
@@ -245,7 +245,7 @@ entity *newentity(int index, int x, int y, int z, char *what, int v1, int v2, in
switch(type)
{
case LIGHT: calclight(); break;
case SOUND: preloadmapsound(e); break;
case SOUND: audiomgr.preloadmapsound(e); break;
}
return index<0 ? &ents.last() : &ents[index];
}