summaryrefslogtreecommitdiff
path: root/src/guns.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-14 00:04:20 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-14 00:04:20 +0100
commit99f328fa19bb9cb266d9525629813cc0268a889e (patch)
tree514d5eb5fe51afc5f19bb3acf240a425239eba2a /src/guns.c
parentf8ccfba637267bae8064daa320cfb00b8ffe3e66 (diff)
bullets network transfer
Diffstat (limited to 'src/guns.c')
-rw-r--r--src/guns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/guns.c b/src/guns.c
new file mode 100644
index 0000000..62f4690
--- /dev/null
+++ b/src/guns.c
@@ -0,0 +1,5 @@
+#include "../include/guns.h"
+
+gun get_gun_by_type(gun_type type) {
+ return guns[type];
+} \ No newline at end of file