- floatification of p_teleport and p_switch.cpp.
This commit is contained in:
parent
0a238e7e18
commit
c776a0fb54
8 changed files with 88 additions and 144 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue