-rw-r--r-- | src/model/data/base.sqc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/data/base.sqc b/src/model/data/base.sqc index f15d18b..41a651c 100644 --- a/src/model/data/base.sqc +++ b/src/model/data/base.sqc | |||
@@ -71,6 +71,7 @@ base (void) | |||
71 | 71 | ||
72 | char *gi_data_row = S.gi_data + (i * 20); | 72 | char *gi_data_row = S.gi_data + (i * 20); |
73 | strncpy (gi_data_row, coordinates.gi.data, sizeof (char) * 20); | 73 | strncpy (gi_data_row, coordinates.gi.data, sizeof (char) * 20); |
74 | *(gi_data_row + coordinates.gi.length) = '\0'; | ||
74 | 75 | ||
75 | float *v = S.base_vertices_data + (i * 2); | 76 | float *v = S.base_vertices_data + (i * 2); |
76 | *v = coordinates.x; | 77 | *v = coordinates.x; |