Fix actor mVoiceType initialization.

This commit is contained in:
mohabhassan committed 2019-07-01 20:17:46 +02:00
1 parent 71be2f3dda
commit d6d29a7a0b
5 files changed
+119 -54

No files matched your search

+2
View File
@@ -40,6 +40,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define scriptcheck g_scriptcheck
#endif
extern Event EV_Entity_Start;
CLASS_DECLARATION( Class, SpawnArgs, NULL )
{
{ NULL, NULL }
@@ -383,6 +384,7 @@ Listener *SpawnArgs::Spawn( void )
if( ent )
{
ent->ProcessPendingEvents();
ent->ProcessEvent(EV_Entity_Start);
}
return ent;