Fixes some issues with lightning #1931

Merged
merged 3 commits into from Jan 25, 2017

Conversation

Projects
None yet
1 participant
@Areloch
Contributor

Areloch commented Jan 17, 2017

Fixes the debug netevent packing error by keeping the mStart value as it's proper 0-1 range until it gets to the client, using a temporary world-space var for finding strike target objects in the radius.

Also add a checker for if there is a texture or not set for the lighting bolt. If it use, set the stateblock description to support it and set the texture, if not, only utilize the color blend.

Fixes the debug netevent packing error by keeping the mStart value as…
… it's proper 0-1 range until it gets to the client, using a temporary world-space var for finding strike target objects in the radius.

Also add a checker for if there is a texture or not set for the lighting bolt. If it use, set the stateblock description to support it and set the texture, if not, only utilize the color blend.

@Areloch Areloch added the Bugfix label Jan 17, 2017

@Areloch Areloch merged commit 1523fe5 into GarageGames:development Jan 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment