diff --git a/polymer/eduke32/source/namesdyn.c b/polymer/eduke32/source/namesdyn.c index 6b84389eb..ebaa81026 100644 --- a/polymer/eduke32/source/namesdyn.c +++ b/polymer/eduke32/source/namesdyn.c @@ -1544,7 +1544,9 @@ void freehashnames() void G_InitDynamicTiles(void) { int32_t i = 0; - clearbufbyte(DynamicTileMap,MAXTILES,0); + + Bmemset(DynamicTileMap, 0, sizeof(DynamicTileMap)); + while (list[i].val) { DynamicTileMap[list[i].val]=list[i].vstat;