Maescool / Catacomb-Snatch

Mojang's Humble bundle source
Other
296 stars 99 forks source link

Fix issue #89: player ported to top-left of map #889

Closed fierydrake closed 12 years ago

fierydrake commented 12 years ago

Fix issue #89 Cause was placing an active mouse cursor at the direct center of the character (causing the aim vector to have no direction) AND firing.

You get warning output even if you aren't firing, but you suffer no ill effect. If you are firing, then you get ported to the top-left of the map.

Fix is not to update aim vector if the mouse is at the center of the character.

Maescool commented 12 years ago

Nice catch! just tried it out, idd when mouse is at that position