Copy vcols wasnt working me->mcol[a] needs to be me->mcol[a*4]

This commit is contained in:
2006-12-03 19:38:32 +00:00
parent cbd84b26f4
commit 2d87c36efa
4 changed files with 7 additions and 7 deletions

View File

@@ -4252,7 +4252,7 @@ void do_fpaintbuts(unsigned short event)
else tf->mode &= ~TF_TILES;
}
else if(event==B_COPY_TF_COL && activemcol)
memcpy(&me->mcol[a], activemcol, sizeof(MCol)*4);
memcpy(&me->mcol[a*4], activemcol, sizeof(MCol)*4);
}
}