From 6b1f82e78eed80c66ffddcef7938ec2b3c801994 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Mon, 4 Nov 2019 11:40:25 +0100 Subject: [PATCH] Documentation : Document identical function bodies for InitBullet and ClearBullet Signed-off-by: Gabriel Ravier --- src/Bullet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bullet.cpp b/src/Bullet.cpp index 618f83ae..a9095dae 100644 --- a/src/Bullet.cpp +++ b/src/Bullet.cpp @@ -66,6 +66,7 @@ BULLET gBul[BULLET_MAX]; void InitBullet() { + // Identical to ClearBullet for (int i = 0; i < BULLET_MAX; i++) gBul[i].cond = 0; } @@ -110,6 +111,7 @@ void DeleteBullet(int code) void ClearBullet() { + // Identical to InitBullet for (int i = 0; i < BULLET_MAX; i++) gBul[i].cond = 0; }