GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f5375e
)
that camera fix was not a fix
author
fgsfds <pvt.fgsfds@gmail.com>
Sun, 9 Feb 2020 02:18:30 +0000
(
05:18
+0300)
committer
fgsfds <pvt.fgsfds@gmail.com>
Sun, 9 Feb 2020 02:18:30 +0000
(
05:18
+0300)
src/game/g_player.pas
patch
|
blob
|
history
diff --git
a/src/game/g_player.pas
b/src/game/g_player.pas
index 2ec93df11d2f99501fa7ce1176c5076105436ad7..59e6456da19b1e763143c897d5ac0ea1e537b9cd 100644
(file)
--- a/
src/game/g_player.pas
+++ b/
src/game/g_player.pas
@@
-4827,7
+4827,7
@@
begin
if FDirection = TDirection.D_LEFT then FAngle := ANGLE_LEFTDOWN else FAngle := ANGLE_RIGHTDOWN;
if FDirection = TDirection.D_LEFT then FAngle := ANGLE_LEFTDOWN else FAngle := ANGLE_RIGHTDOWN;
- if FIncCam > -120
.0 * g_dbg_scale then DecMin(FIncCam, 5, Integer(-120.0 * g_dbg_scale)
);
+ if FIncCam > -120
then DecMin(FIncCam, 5, -120
);
end;
procedure TPlayer.SeeUp();
end;
procedure TPlayer.SeeUp();
@@
-4836,7
+4836,7
@@
begin
if FDirection = TDirection.D_LEFT then FAngle := ANGLE_LEFTUP else FAngle := ANGLE_RIGHTUP;
if FDirection = TDirection.D_LEFT then FAngle := ANGLE_LEFTUP else FAngle := ANGLE_RIGHTUP;
- if FIncCam < 120
.0 * g_dbg_scale then IncMax(FIncCam, 5, Integer(120.0 * g_dbg_scale)
);
+ if FIncCam < 120
then IncMax(FIncCam, 5, 120
);
end;
procedure TPlayer.SetAction(Action: Byte; Force: Boolean = False);
end;
procedure TPlayer.SetAction(Action: Byte; Force: Boolean = False);
DEADSOFTWARE 2012-2025