🚚 Rename 'PortalStruct' struct to 'Portal'

This commit is contained in:
Juliano Leal Goncalves 2021-09-06 11:29:04 -03:00 committed by Anders Jenbo
commit 4ea9cd539e
3 changed files with 5 additions and 5 deletions

View file

@ -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);