diff --git a/src/d_net.cpp b/src/d_net.cpp index bd7504098d..c88a0ce123 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -2585,7 +2585,7 @@ void Net_DoCommand (int type, uint8_t **stream, int player) const PClass *cls_rep = cls->GetReplacement(); if (cls != cls_rep) { - removecount += RemoveClass(&leve, cls_rep); + removecount += RemoveClass(&level, cls_rep); } Printf("Removed %d actors of type %s.\n", removecount, s); } diff --git a/src/p_saveg.cpp b/src/p_saveg.cpp index 333992601f..a2378b3166 100644 --- a/src/p_saveg.cpp +++ b/src/p_saveg.cpp @@ -1024,7 +1024,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload) FWeaponSlots::SetupWeaponSlots(players[i].mo); } } - AActor::RecreateAllAttachedLights(); + RecreateAllAttachedLights(); InitPortalGroups(this); automap->UpdateShowAllLines();