- Fixed: Because PClass is a child of DObject now, attempts to serialize them get caught by
the DObject serialization template. Therefore, FArchive::SerializeObject() needs to be able to handle them specially from other objects. SVN r3924 (scripting)
This commit is contained in:
parent
e7168b3a51
commit
80782d7e5e
3 changed files with 21 additions and 21 deletions
|
|
@ -137,7 +137,7 @@ void SetupPlayerClasses ()
|
|||
PlayerClasses.Clear();
|
||||
for (unsigned i = 0; i < gameinfo.PlayerClasses.Size(); i++)
|
||||
{
|
||||
PClassActor *cls = PClass::FindActor(gameinfo.PlayerClasses[i]);;
|
||||
PClassActor *cls = PClass::FindActor(gameinfo.PlayerClasses[i]);
|
||||
if (ValidatePlayerClass(cls, gameinfo.PlayerClasses[i]))
|
||||
{
|
||||
newclass.Flags = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue