diff --git a/src/gamelog.cpp b/src/gamelog.cpp index aba915ea40..11b6518510 100644 --- a/src/gamelog.cpp +++ b/src/gamelog.cpp @@ -754,6 +754,8 @@ static void Load_GLOG() la->change = ReallocT(la->change, la->changes + 1); LoggedChange *lc = &la->change[la->changes++]; + /* for SLE_STR, pointer has to be valid! so make it NULL */ + memset(lc, 0, sizeof(*lc)); lc->ct = ct; assert((uint)ct < GLCT_END);