Merge branch 'master' into localization

This commit is contained in:
Christoph Oelckers 2019-02-14 22:24:12 +01:00
commit 6e9b62a43e
2 changed files with 3 additions and 3 deletions

View file

@ -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 ui bool netgame;
native readonly bool automapactive; native readonly bool automapactive;
native play uint gameaction; native readonly uint gameaction;
native readonly int gamestate; native readonly int gamestate;
native readonly TextureID skyflatnum; native readonly TextureID skyflatnum;
native readonly Font smallfont; native readonly Font smallfont;

View file

@ -1169,8 +1169,8 @@ class PlayerPawn : Actor
// Strife's player can't run when its health is below 10 // Strife's player can't run when its health is below 10
if (health <= RunHealth) if (health <= RunHealth)
{ {
forward = clamp(forward, -gameinfo.normforwardmove[0], gameinfo.normforwardmove[0]); forward = clamp(forward, -gameinfo.normforwardmove[0]*256, gameinfo.normforwardmove[0]*256);
side = clamp(side, -gameinfo.normsidemove[0], gameinfo.normsidemove[0]); side = clamp(side, -gameinfo.normsidemove[0]*256, gameinfo.normsidemove[0]*256);
} }
// [GRB] // [GRB]