mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Exhumed: Ensure sequence data cannot be changed via the getters.
This commit is contained in:
parent
64c47b0385
commit
33d4809663
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue