- Exhumed: Ensure sequence data cannot be changed via the getters.

This commit is contained in:
Mitchell Richters 2023-04-26 20:13:26 +10:00
parent 64c47b0385
commit 33d4809663
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ static TMap<FName, TArray<Seq>> FileSeqMap;
//
//---------------------------------------------------------------------------
TArray<Seq>* getFileSeqs(const FName nSeqFile)
const TArray<Seq>* const getFileSeqs(const FName nSeqFile)
{
return FileSeqMap.CheckKey(nSeqFile);
}

View file

@ -84,7 +84,7 @@ void seq_PlotSequence(const int nSprite, const FName seqFile, const int16_t seqI
void seq_PlotArrowSequence(const int nSprite, const FName seqFile, const int16_t seqIndex, const int frameIndex);
void seq_DrawPilotLightSeq(double xPos, double yPos, double nAngle);
TArray<Seq>* getFileSeqs(const FName nSeqFile);
const TArray<Seq>* const getFileSeqs(const FName nSeqFile);
inline const Seq& getSequence(const FName nSeqFile, const unsigned nSeqIndex = 0)
{