Commits

Teemu Piippo  committed 7abfc78

...

  • Participants
  • Parent commits 0de5476

Comments (0)

Files changed (1)

File src/g_doom/a_scriptedmarine.cpp

 DEFINE_ACTION_FUNCTION(AActor, A_M_CheckAttack)
 {
 	// [BC] Don't do this in client mode.
-	if ( NETWORK_InClientMode( ) )
+	if (( NETWORK_GetState( ) == NETSTATE_CLIENT ) ||
+		( CLIENTDEMO_IsPlaying( )))
 	{
 		return;
 	}
 		// [Dusk] Update the state to clients
 		if ( NETWORK_GetState( ) == NETSTATE_SERVER )
 			SERVERCOMMANDS_SetThingFrame( self, self->FindState("SkipAttack") );
+
 		self->SetState (self->FindState("SkipAttack"));
 	}
 	else