only load sounds when necessary
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2918 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -179,6 +179,10 @@ entity *newentity(int x, int y, int z, char *what, int v1, int v2, int v3, int v
|
||||
|
||||
switch(type)
|
||||
{
|
||||
case SOUND:
|
||||
preloadmapsound(e);
|
||||
break;
|
||||
|
||||
case LIGHT:
|
||||
if(v1>64) v1 = 64;
|
||||
if(!v1) e.attr1 = 16;
|
||||
|
||||
Reference in New Issue
Block a user