Decompose a few numbers
This commit is contained in:
parent
cab3ebddf5
commit
10febf7e15
3 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ static BOOL CaptureHdr(HANDLE hFile, short width, short height)
|
|||
static BOOL CapturePal(HANDLE hFile, PALETTEENTRY *palette)
|
||||
{
|
||||
DWORD NumberOfBytesWritten;
|
||||
BYTE pcx_palette[769];
|
||||
BYTE pcx_palette[1 + 256 * 3];
|
||||
int i;
|
||||
|
||||
pcx_palette[0] = 12;
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ TSnd *sound_file_load(char *path)
|
|||
pSnd = (TSnd *)DiabloAllocPtr(sizeof(TSnd));
|
||||
memset(pSnd, 0, sizeof(TSnd));
|
||||
pSnd->sound_path = path;
|
||||
pSnd->start_tc = GetTickCount() - 81;
|
||||
pSnd->start_tc = GetTickCount() - 80 - 1;
|
||||
|
||||
wave_file = LoadWaveFile(file, &pSnd->fmt, &pSnd->chunk);
|
||||
if (!wave_file)
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ void InitTownTriggers()
|
|||
numtrigs = 4;
|
||||
} else {
|
||||
#endif
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (i = 0; i < MAX_PLRS - 1; i++) {
|
||||
townwarps[i] = FALSE;
|
||||
}
|
||||
#ifndef SPAWN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue