summaryrefslogtreecommitdiff
path: root/src/rune_spell.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rune_spell.hpp')
-rw-r--r--src/rune_spell.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rune_spell.hpp b/src/rune_spell.hpp
index d04a8dc4..e1e8d190 100644
--- a/src/rune_spell.hpp
+++ b/src/rune_spell.hpp
@@ -7,9 +7,9 @@
*/
struct rune_spell
{
- char name[30]; /* name */
+ char name[30] { '\0' }; /* name */
- s16b type; /* Type of the spell(GF) */
- s16b rune2; /* Modifiers */
- s16b mana; /* Mana involved */
+ s16b type = 0; /* Type of the spell(GF) */
+ s16b rune2 = 0; /* Modifiers */
+ s16b mana = 0; /* Mana involved */
};