mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
- fixed: Setting the first state's duration of a fast projectile to 0 caused
an underflow and blocked all further state changes. SVN r1929 (trunk)
This commit is contained in:
parent
8390184839
commit
788f17323c
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
October 19, 2009 (Changes by Graf Zahl)
|
||||
- fixed: Setting the first state's duration of a fast projectile to 0 caused
|
||||
an underflow and blocked all further state changes.
|
||||
|
||||
October 18, 2009 (Changes by Graf Zahl)
|
||||
- fixed: FMultiPatchTexture::MakeTexture was missing a range check for the
|
||||
special colormap index.
|
||||
|
|
|
@ -99,7 +99,7 @@ void AFastProjectile::Tick ()
|
|||
// Advance the state
|
||||
if (tics != -1)
|
||||
{
|
||||
tics--;
|
||||
if (tics > 0) tics--;
|
||||
while (!tics)
|
||||
{
|
||||
if (!SetState (state->GetNextState ()))
|
||||
|
|
Loading…
Reference in a new issue