diff --git a/source/build/include/build.h b/source/build/include/build.h index 6ea31e0a8..3a704a86f 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -146,7 +146,7 @@ struct usermaphack_t }; extern spriteext_t spriteext[MAXSPRITES]; -extern spritesmooth_t spritesmooth[MAXSPRITES]; +extern spritesmooth_t spritesmooth[MAXSPRITES + MAXUNIQHUDID]; extern sectortype sector[MAXSECTORS]; extern walltype wall[MAXWALLS]; diff --git a/source/build/src/engine.cpp b/source/build/src/engine.cpp index 849602636..a6bfa2ef3 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -42,7 +42,7 @@ #endif spriteext_t spriteext[MAXSPRITES]; -spritesmooth_t spritesmooth[MAXSPRITES]; +spritesmooth_t spritesmooth[MAXSPRITES + MAXUNIQHUDID]; sectortype sector[MAXSECTORS]; walltype wall[MAXWALLS];