mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Serialize FriendPlayer
This commit is contained in:
parent
e691341541
commit
e1130b860e
2 changed files with 5 additions and 1 deletions
|
@ -314,6 +314,10 @@ void AActor::Serialize (FArchive &arc)
|
||||||
arc << PoisonDamageType << PoisonDamageTypeReceived;
|
arc << PoisonDamageType << PoisonDamageTypeReceived;
|
||||||
}
|
}
|
||||||
arc << ConversationRoot << Conversation;
|
arc << ConversationRoot << Conversation;
|
||||||
|
if (SaveVersion >= 4509)
|
||||||
|
{
|
||||||
|
arc << FriendPlayer;
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
FString tagstr;
|
FString tagstr;
|
||||||
|
|
|
@ -76,7 +76,7 @@ const char *GetVersionString();
|
||||||
|
|
||||||
// Use 4500 as the base git save version, since it's higher than the
|
// Use 4500 as the base git save version, since it's higher than the
|
||||||
// SVN revision ever got.
|
// SVN revision ever got.
|
||||||
#define SAVEVER 4508
|
#define SAVEVER 4509
|
||||||
|
|
||||||
#define SAVEVERSTRINGIFY2(x) #x
|
#define SAVEVERSTRINGIFY2(x) #x
|
||||||
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)
|
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)
|
||||||
|
|
Loading…
Reference in a new issue