mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom
This commit is contained in:
commit
61660bf147
2 changed files with 7 additions and 2 deletions
|
@ -363,7 +363,12 @@ public:
|
|||
void WildMidiSetOption(int opt, int set);
|
||||
void CreateSMF(TArray<uint8_t> &file, int looplimit=0);
|
||||
int ServiceEvent();
|
||||
int GetDeviceType() const override { return MIDI->GetDeviceType(); }
|
||||
int GetDeviceType() const override
|
||||
{
|
||||
return nullptr == MIDI
|
||||
? MusInfo::GetDeviceType()
|
||||
: MIDI->GetDeviceType();
|
||||
}
|
||||
|
||||
protected:
|
||||
MIDIStreamer(const char *dumpname, EMidiDevice type);
|
||||
|
|
|
@ -214,7 +214,7 @@ class BasicArmor : Armor
|
|||
// Once the armor has absorbed its part of the damage, then apply its damage factor, if any, to the player
|
||||
if ((damage > 0) && (ArmorType != 'None')) // BasicArmor is not going to have any damage factor, so skip it.
|
||||
{
|
||||
ApplyDamageFactors(ArmorType, damageType, damage, damage);
|
||||
newdamage = ApplyDamageFactors(ArmorType, damageType, damage, damage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue