add PlayerStates for MultiPlayers

This commit is contained in:
Chris Danford
2005-08-23 21:07:07 +00:00
parent 6fa9407891
commit 0c57983d0e
6 changed files with 45 additions and 6 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ void Inventory::UseItem( int iSlot )
pInventory[iSlot].MakeBlank();
m_vpSoundUseItem[a.level]->Play();
GAMESTATE->LaunchAttack( pnToAttack, a );
GAMESTATE->LaunchAttack( (MultiPlayer)pnToAttack, a );
float fPercentHealthToDrain = (a.level+1) / 10.f;
ASSERT( fPercentHealthToDrain > 0 );