by Xaser » Sun Sep 24, 2017 11:28 am
It's missing a Stop directive, so it falls back to the "go to the next state in the list" behavior. The
line of code that handles this has a fallback where if it's the very last state in the list, it goes to the first state. Unfortunately, in the posted example, the last state and the first state are one and the same, and the duration is zero. Welcome to Loopville, population: infinity.
It's missing a Stop directive, so it falls back to the "go to the next state in the list" behavior. The [url=https://github.com/coelckers/gzdoom/blob/9f742f8aaa5fabe5eceff5999db8eed988c6135d/src/p_states.cpp#L1042]line of code[/url] that handles this has a fallback where if it's the very last state in the list, it goes to the first state. Unfortunately, in the posted example, the last state and the first state are one and the same, and the duration is zero. Welcome to Loopville, population: infinity.