apsillers / html5-netrek

A browser-based HTML5 Netrek client
https://html5-netrek--apsillers.repl.co
GNU General Public License v3.0
13 stars 1 forks source link

Phaser not drawn correctly #1

Closed apsillers closed 11 years ago

apsillers commented 12 years ago

On a hit, a phaser is sometimes drawn directed at the wrong target. (This seems happen because the x/y cords are 0,0 so the phaser is drawn as coming from the player, even if fired by another ship.)

apsillers commented 11 years ago

Fix: use pnum to get ship location x/y