mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +00:00
- fixed: SBARINFO's DrawGem command accepted a size value of 0 and divided
by it. Reinstated the old '+1' this command had in the old code. SVN r2077 (trunk)
This commit is contained in:
parent
87f3c9c5b7
commit
efb420228c
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
January 2, 2010 (Changes by Graf Zahl)
|
January 2, 2010 (Changes by Graf Zahl)
|
||||||
|
- fixed: SBARINFO's DrawGem command accepted a size value of 0 and divided
|
||||||
|
by it. Reinstated the old '+1' this command had in the old code.
|
||||||
- fixed: The floor waggle code used FloatBobOffsets as sine table but this
|
- fixed: The floor waggle code used FloatBobOffsets as sine table but this
|
||||||
only has 64 entries and is not precise enough. It now uses finesine instead.
|
only has 64 entries and is not precise enough. It now uses finesine instead.
|
||||||
- fixed: When compositing a multipatch texture any patch that is a multpatch
|
- fixed: When compositing a multipatch texture any patch that is a multpatch
|
||||||
|
|
|
@ -2281,7 +2281,7 @@ class CommandDrawGem : public SBarInfoCommand
|
||||||
sc.MustGetToken(TK_IntConst);
|
sc.MustGetToken(TK_IntConst);
|
||||||
if(sc.Number < 0)
|
if(sc.Number < 0)
|
||||||
sc.ScriptError("Chain size must be a positive number.");
|
sc.ScriptError("Chain size must be a positive number.");
|
||||||
chainSize = sc.Number;
|
chainSize = sc.Number+1;
|
||||||
sc.MustGetToken(',');
|
sc.MustGetToken(',');
|
||||||
GetCoordinates(sc, fullScreenOffsets, x, y);
|
GetCoordinates(sc, fullScreenOffsets, x, y);
|
||||||
sc.MustGetToken(';');
|
sc.MustGetToken(';');
|
||||||
|
|
Loading…
Reference in a new issue