MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / KillMoveItems

Function KillMoveItems

TombEngine/Game/control/control.cpp:457–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void KillMoveItems()
458{
459 if (ItemNewRoomNo > 0)
460 {
461 for (int i = 0; i < ItemNewRoomNo; i++)
462 {
463 int itemNumber = ItemNewRooms[i * 2];
464 if (itemNumber >= 0)
465 {
466 ItemNewRoom(itemNumber, ItemNewRooms[(i * 2) + 1]);
467 }
468 else
469 {
470 KillItem(itemNumber & 0x7FFF);
471 }
472 }
473 }
474
475 ItemNewRoomNo = 0;
476}
477
478void KillMoveEffects()
479{

Callers 2

UpdateAllItemsFunction · 0.85
UpdateLaraFunction · 0.85

Calls 2

ItemNewRoomFunction · 0.85
KillItemFunction · 0.85

Tested by

no test coverage detected