- Backported the classnames-are-names changes from the FP code.

SVN r97 (trunk)
This commit is contained in:
Randy Heit 2006-05-10 02:40:43 +00:00
commit d878c2e7d6
108 changed files with 1476 additions and 1053 deletions

View file

@ -2104,10 +2104,10 @@ void Net_DoCommand (int type, byte **stream, int player)
case DEM_SUMMON:
case DEM_SUMMONFRIEND:
{
const TypeInfo *typeinfo;
const PClass *typeinfo;
s = ReadString (stream);
typeinfo = TypeInfo::FindType (s);
typeinfo = PClass::FindClass (s);
if (typeinfo != NULL && typeinfo->ActorInfo != NULL)
{
AActor *source = players[player].mo;