mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
put useful comment back
This commit is contained in:
parent
c583d43f1a
commit
f088de1a55
1 changed files with 1 additions and 0 deletions
|
@ -1013,6 +1013,7 @@ extern "C" s32 GetRandomizedItemIdFromActor(GetItemID ogId, s16 actorId ) {
|
|||
return OTRGlobals::Instance->gRandomizer->GetRandomizedItemId(ogId, actorId);
|
||||
}
|
||||
|
||||
// use an explicit (s32) cast on the position values from the Vec3f when calling
|
||||
extern "C" s32 GetRandomizedItemIdFromPosition(GetItemID ogId, s16 sceneNum, s16 actorParams, s32 homePosX, s32 homePosY, s32 homePosZ) {
|
||||
return OTRGlobals::Instance->gRandomizer->GetRandomizedItemId(ogId, -1, sceneNum, actorParams, homePosX, homePosY, homePosZ);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue