diff --git a/wadsrc/static/zscript/base.txt b/wadsrc/static/zscript/base.txt index 2ba475639..be73e3f4d 100644 --- a/wadsrc/static/zscript/base.txt +++ b/wadsrc/static/zscript/base.txt @@ -15,7 +15,7 @@ struct _ native // These are the global variables, the struct is only here to av native readonly ui bool netgame; native readonly bool automapactive; - native play uint gameaction; + native readonly uint gameaction; native readonly int gamestate; native readonly TextureID skyflatnum; native readonly Font smallfont; diff --git a/wadsrc/static/zscript/shared/player.txt b/wadsrc/static/zscript/shared/player.txt index ecb029c19..a1f35d298 100644 --- a/wadsrc/static/zscript/shared/player.txt +++ b/wadsrc/static/zscript/shared/player.txt @@ -1169,8 +1169,8 @@ class PlayerPawn : Actor // Strife's player can't run when its health is below 10 if (health <= RunHealth) { - forward = clamp(forward, -gameinfo.normforwardmove[0], gameinfo.normforwardmove[0]); - side = clamp(side, -gameinfo.normsidemove[0], gameinfo.normsidemove[0]); + forward = clamp(forward, -gameinfo.normforwardmove[0]*256, gameinfo.normforwardmove[0]*256); + side = clamp(side, -gameinfo.normsidemove[0]*256, gameinfo.normsidemove[0]*256); } // [GRB]