- added DavidPH's damage type specific damage color submission.
SVN r3220 (trunk)
This commit is contained in:
parent
5df9af462a
commit
2e4e5bdb28
7 changed files with 50 additions and 8 deletions
13
src/info.cpp
13
src/info.cpp
|
|
@ -313,6 +313,19 @@ void FActorInfo::SetPainChance(FName type, int chance)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void FActorInfo::SetPainFlash(FName type, PalEntry color)
|
||||
{
|
||||
if (PainFlashes == NULL)
|
||||
PainFlashes = new PainFlashList;
|
||||
|
||||
PainFlashes->Insert(type, color);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FActorInfo::SetColorSet(int index, const FPlayerColorSet *set)
|
||||
{
|
||||
if (set != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue