- Exhumed: renamed disassembly variable.

This commit is contained in:
Christoph Oelckers 2021-09-07 21:28:47 +02:00
parent f7a475aa94
commit d82b7ff51c

View file

@ -126,7 +126,7 @@ struct slideData
short nChannel;
short field_2a;
short field_4a;
short field_6a;
short nSprite;
short field_8a;
int field_0;
@ -328,7 +328,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, slideData& w, slid
("channel", w.nChannel)
("at2a", w.field_2a)
("at4a", w.field_4a)
("at6a", w.field_6a)
("at6a", w.nSprite)
("at8a", w.field_8a)
.EndObject();
}
@ -1112,7 +1112,7 @@ int BuildSlide(int nChannel, int nStartWall, int nWall1, int ecx, int nWall2, in
int nSprite = insertsprite(nSector, 899);
SlideData[nSlide].field_6a = nSprite;
SlideData[nSlide].nSprite = nSprite;
sprite[nSprite].cstat = 0x8000;
sprite[nSprite].x = wall[nStartWall].x;
sprite[nSprite].y = wall[nStartWall].y;
@ -1155,7 +1155,7 @@ void FuncSlide(int a, int, int nRun)
if (SlideData[nSlide].field_8a != sRunChannels[nChannel].c)
{
D3PlayFX(StaticSound[kSound23], SlideData[nSlide].field_6a);
D3PlayFX(StaticSound[kSound23], SlideData[nSlide].nSprite);
SlideData[nSlide].field_8a = sRunChannels[nChannel].c;
}
@ -1181,7 +1181,7 @@ void FuncSlide(int a, int, int nRun)
int var_24 = nSeekB;
dragpoint(SlideData[nSlide].field_4, x, y, 0);
movesprite(SlideData[nSlide].field_6a, var_34 << 14, var_2C << 14, 0, 0, 0, CLIPMASK1);
movesprite(SlideData[nSlide].nSprite, var_34 << 14, var_2C << 14, 0, 0, 0, CLIPMASK1);
if (var_34 == 0)
{
@ -1284,7 +1284,7 @@ void FuncSlide(int a, int, int nRun)
runlist_SubRunRec(SlideData[nSlide].field_4a);
SlideData[nSlide].field_4a = -1;
D3PlayFX(StaticSound[nStopSound], SlideData[nSlide].field_6a);
D3PlayFX(StaticSound[nStopSound], SlideData[nSlide].nSprite);
runlist_ReadyChannel(nChannel);
}