diff --git a/src/deh_soc.c b/src/deh_soc.c
index eebaf131601bb253e9e0f390e0d0e1c6ca492f3e..60aaf128770de6481e43cd8b3de129b6234b2228 100644
--- a/src/deh_soc.c
+++ b/src/deh_soc.c
@@ -2850,6 +2850,9 @@ void readsound(MYFILE *f, INT32 num)
 			if (s == tmp)
 				continue; // Skip comment lines, but don't break.
 
+			// Set / reset word
+			word = s;
+
 			// Get the part before the " = "
 			tmp = strchr(s, '=');
 			if (tmp)