Code Derp!

Today I’ve fixed a couple bugs, one was this

else
{
if vspeed > 0 move_contact_solid(270,vspeed+1)
if vspeed < 0 then move_contact_solid(90,vspeed)
gravity = 0
vspeed = 0
}

Notice someting?  An exception if vspeed == 0
A super juvenile mistake!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s