HomePhabricator

Player: fix crash when no action is present in the file

Authored by JackDanielZ on Oct 15 2018, 1:43 AM.

Description

Player: fix crash when no action is present in the file

It can happen if the file doesn't contain any actions or if no shot is
present. In this last case, an optimization in the player removes the
actions after the last shot, meaning it will remove all the actions if
no shot is present.

An example is window_states_2 test where the shots cannot be taken by
the recorder, as F2 is not caught.

Details

Committed
JackDanielZOct 15 2018, 1:43 AM
Parents
rTEXACT3f31c8f72ef7: Suite: fix exu files comparison
Branches
Unknown
Tags
Unknown