- floatified viewheight variables and some related code.
This commit is contained in:
parent
af427b80bd
commit
6b3c0ecbd3
14 changed files with 90 additions and 82 deletions
|
|
@ -165,7 +165,7 @@ void FS_EmulateCmd(char * string)
|
|||
else if (sc.Compare("viewheight"))
|
||||
{
|
||||
sc.MustGetFloat();
|
||||
fixed_t playerviewheight = (fixed_t)(sc.Float*FRACUNIT);
|
||||
double playerviewheight = sc.Float*FRACUNIT;
|
||||
for(int i=0;i<MAXPLAYERS;i++)
|
||||
{
|
||||
// No, this is not correct. But this is the way Legacy WADs expect it to be handled!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue