Add missing call to update collision triangles
This commit is contained in:
@@ -459,6 +459,7 @@
|
|||||||
position = updateShip(elapsed);
|
position = updateShip(elapsed);
|
||||||
updateBullets(elapsed);
|
updateBullets(elapsed);
|
||||||
updateEdges(position);
|
updateEdges(position);
|
||||||
|
if (drawCollisionLines) updateTriangles(position);
|
||||||
|
|
||||||
if (restart) {
|
if (restart) {
|
||||||
restart = false;
|
restart = false;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user