mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Merge branch 'master' into localization
This commit is contained in:
commit
6e9b62a43e
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue