Added APROP_SoundClass
- Added APROP_SoundClass to GetActorProperty, SetActorProperty, CheckActorProperty
This commit is contained in:
parent
08fc91fe3e
commit
852a96497d
4 changed files with 22 additions and 2 deletions
|
|
@ -347,6 +347,7 @@ void player_t::CopyFrom(player_t &p, bool copyPSP)
|
|||
ConversationFaceTalker = p.ConversationFaceTalker;
|
||||
MUSINFOactor = p.MUSINFOactor;
|
||||
MUSINFOtics = p.MUSINFOtics;
|
||||
SoundClass = p.SoundClass;
|
||||
if (copyPSP)
|
||||
{
|
||||
// This needs to transfer ownership completely.
|
||||
|
|
@ -1696,7 +1697,8 @@ void player_t::Serialize(FSerializer &arc)
|
|||
("settings_controller", settings_controller)
|
||||
("onground", onground)
|
||||
("musinfoactor", MUSINFOactor)
|
||||
("musinfotics", MUSINFOtics);
|
||||
("musinfotics", MUSINFOtics)
|
||||
("SoundClass", SoundClass);
|
||||
|
||||
if (arc.isWriting ())
|
||||
{
|
||||
|
|
@ -1812,6 +1814,7 @@ DEFINE_FIELD_X(PlayerInfo, player_t, original_cmd)
|
|||
DEFINE_FIELD_X(PlayerInfo, player_t, userinfo)
|
||||
DEFINE_FIELD_X(PlayerInfo, player_t, weapons)
|
||||
DEFINE_FIELD_NAMED_X(PlayerInfo, player_t, cmd.ucmd.buttons, buttons)
|
||||
DEFINE_FIELD_X(PlayerInfo, player_t, SoundClass)
|
||||
|
||||
DEFINE_FIELD_X(UserCmd, usercmd_t, buttons)
|
||||
DEFINE_FIELD_X(UserCmd, usercmd_t, pitch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue