eakosin / TheExplorerProject

A 2D MMO-PVE dungeon crawler with item based character progression.
4 stars 3 forks source link

Fix process(Level|Character|Enemy|Projectile)Event() #25

Closed eakosin closed 10 years ago

eakosin commented 10 years ago

All 4 functions currently have elseif(event.destination == "currentlevel") which is only valid for processLevelEvent(). All 4 functions do not iterate destination in the else statement causing an infinite while loop.

eakosin commented 10 years ago

Removed the elseif statements and fixed the non-terminating while loop.