CRUISE: disable more efficiently some code
This commit is contained in:
parent
2eaa78b54b
commit
ec17a7ece6
1 changed files with 7 additions and 10 deletions
|
@ -915,17 +915,14 @@ Common::Error loadSavegameData(int saveGameIdx) {
|
||||||
|
|
||||||
while (currentcellHead) {
|
while (currentcellHead) {
|
||||||
if (currentcellHead->type == 5) {
|
if (currentcellHead->type == 5) {
|
||||||
uint8 *ptr = mainProc14(currentcellHead->overlay, currentcellHead->idx);
|
|
||||||
|
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
|
#if 0
|
||||||
if (ptr) {
|
uint8 *ptr = mainProc14(currentcellHead->overlay, currentcellHead->idx);
|
||||||
ASSERT(0);
|
if (ptr)
|
||||||
//*(int16 *)(currentcellHead->datas+0x2E) = getSprite(ptr,*(int16 *)(currentcellHead->datas+0xE));
|
*(int16 *)(currentcellHead->datas+0x2E) = getSprite(ptr,*(int16 *)(currentcellHead->datas+0xE));
|
||||||
} else {
|
else
|
||||||
ASSERT(0);
|
*(int16 *)(currentcellHead->datas+0x2E) = 0;
|
||||||
//*(int16 *)(currentcellHead->datas+0x2E) = 0;
|
#endif
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
currentcellHead = currentcellHead->next;
|
currentcellHead = currentcellHead->next;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue