That looks more correct.

git-svn-id: https://svn.eduke32.com/eduke32@1295 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-04-02 17:49:10 +00:00
parent 2994614501
commit e9821ccb35
2 changed files with 4 additions and 4 deletions

View File

@ -764,7 +764,7 @@ void editinput(void)
if (keystatus[0x44])
{
memset(spriteext, 0, sizeof(spriteext_t) * MAXSPRITES);
memset(spritesmooth, 0, sizeof(spritesmooth));
memset(spritesmooth, 0, sizeof(spritesmooth_t) * (MAXSPRITES+MAXUNIQHUDID));
mhk=0;
initprintf("Maphacks disabled\n");
keystatus[0x44] = 0;

View File

@ -6825,7 +6825,7 @@ int32_t loadboard(char *filename, char fromwhere, int32_t *daposx, int32_t *dapo
#if defined(POLYMOST) && defined(USE_OPENGL)
memset(spriteext, 0, sizeof(spriteext_t) * MAXSPRITES);
memset(spritesmooth, 0, sizeof(spritesmooth));
memset(spritesmooth, 0, sizeof(spritesmooth_t) * (MAXSPRITES+MAXUNIQHUDID));
# ifdef POLYMER
if (rendmode == 4)
@ -7308,7 +7308,7 @@ int32_t loadoldboard(char *filename, char fromwhere, int32_t *daposx, int32_t *d
#if defined(POLYMOST) && defined(USE_OPENGL)
memset(spriteext, 0, sizeof(spriteext_t) * MAXSPRITES);
memset(spritesmooth, 0, sizeof(spritesmooth));
memset(spritesmooth, 0, sizeof(spritesmooth_t) * (MAXSPRITES+MAXUNIQHUDID));
#endif
guniqhudid = 0;
@ -7371,7 +7371,7 @@ int32_t loadmaphack(char *filename)
if (!script) return -1;
memset(spriteext, 0, sizeof(spriteext_t) * MAXSPRITES);
memset(spritesmooth, 0, sizeof(spritesmooth));
memset(spritesmooth, 0, sizeof(spritesmooth_t) * (MAXSPRITES+MAXUNIQHUDID));
staticlightcount = 0;