Skip to content

Commit

Permalink
Fixed mystery MAVs by changing PutPixel2 to PutPixel.
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkamario committed Apr 1, 2013
1 parent 21e8f04 commit f1cf431
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cb
Expand Up @@ -181,13 +181,13 @@ updatecopter:
Return

updateParticles:
Lock()
'Lock()
For p.ENTITIES = Each ENTITIES
If p\etype = ENTITY_PARTICLE Then
txf# = p\tx
tyf# = p\ty
Gosub kamerafloat
PutPixel2 sxf, syf - p\z, pColors(p\t, p\f)
PutPixel sxf, syf - p\z, pColors(p\t, p\f)
p\tx = p\tx + (p\xv + WIND_SPEED_X*0.2) * t#
p\ty = p\ty + (p\yv + WIND_SPEED_Y*0.2) * t#
p\z = p\z + p\zv * t#
Expand All @@ -209,7 +209,7 @@ updateParticles:
EndIf
EndIf
Next p
Unlock
'Unlock
Return


Expand Down

0 comments on commit f1cf431

Please sign in to comment.