🚚 Rename 'PortalStruct' struct to 'Portal'
This commit is contained in:
parent
9f4438fa22
commit
4ea9cd539e
3 changed files with 5 additions and 5 deletions
|
|
@ -783,7 +783,7 @@ void LoadLighting(LoadHelper *file, Light *pLight)
|
|||
|
||||
void LoadPortal(LoadHelper *file, int i)
|
||||
{
|
||||
PortalStruct *pPortal = &Portals[i];
|
||||
Portal *pPortal = &Portals[i];
|
||||
|
||||
pPortal->open = file->NextBool32();
|
||||
pPortal->position.x = file->NextLE<int32_t>();
|
||||
|
|
@ -1423,7 +1423,7 @@ void SaveLighting(SaveHelper *file, Light *pLight)
|
|||
|
||||
void SavePortal(SaveHelper *file, int i)
|
||||
{
|
||||
PortalStruct *pPortal = &Portals[i];
|
||||
Portal *pPortal = &Portals[i];
|
||||
|
||||
file->WriteLE<uint32_t>(pPortal->open ? 1 : 0);
|
||||
file->WriteLE<int32_t>(pPortal->position.x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue