mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-24 00:00:27 +02:00
Fix actor mVoiceType initialization.
This commit is contained in:
1 parent
71be2f3dda
commit
d6d29a7a0b
5 files changed
+119
-54
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user