- floatification of p_teleport and p_switch.cpp.

This commit is contained in:
Christoph Oelckers 2016-03-29 00:31:59 +02:00
commit c776a0fb54
8 changed files with 88 additions and 144 deletions

View file

@ -89,7 +89,6 @@ enum ETerrainKeywords
enum EGenericType
{
GEN_End,
GEN_Fixed,
GEN_Sound,
GEN_Byte,
GEN_Class,
@ -534,11 +533,6 @@ static void GenericParse (FScanner &sc, FGenericParse *parser, const char **keyw
notdone = false;
break;
case GEN_Fixed:
sc.MustGetFloat ();
SET_FIELD (fixed_t, (fixed_t)(FRACUNIT * sc.Float));
break;
case GEN_Sound:
sc.MustGetString ();
SET_FIELD (FSoundID, FSoundID(sc.String));