fix warningFlashes() of lightning class #1937

Merged
merged 1 commit into from Feb 1, 2017

Conversation

Projects
None yet
3 participants
@John3
Contributor

John3 commented Jan 31, 2017

This PR fix the warningFlashes() method, that doesn't randomly select the spot to strike, all the lightning bolts will always strike in the same place.

EDIT: typo :D

@John3 John3 changed the title from fix warningFlashes() of lighting class to fix warningFlashes() of lightning class Feb 1, 2017

@Areloch Areloch merged commit 3717e3b into GarageGames:development Feb 1, 2017

@@ -742,6 +743,9 @@ void Lightning::warningFlashes()
{
LightningStrikeEvent* pEvent = new LightningStrikeEvent;
pEvent->mLightning = this;
+

This comment has been minimized.

@dottools

dottools Feb 1, 2017

tabs vs spaces issue. :P

@dottools

dottools Feb 1, 2017

tabs vs spaces issue. :P

@John3 John3 deleted the John3:fixLightningWarningFlashes branch Feb 5, 2017

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