- fixed compile

This commit is contained in:
Christoph Oelckers 2022-10-02 20:45:53 +02:00
parent c1d603e1e9
commit 41ba829665
4 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ public:
void Draw(int x, int y, int scale, bool cursor);
unsigned CalcCellSize(unsigned length);
unsigned CharsForCells(unsigned cellin, bool *overflow);
void MakeStartPosGood();;
void MakeStartPosGood();
void CursorStart();
void CursorEnd();

View file

@ -38,7 +38,7 @@ void I_PrintStr (const char *str);
void I_SetIWADInfo ();
// Pick from multiple IWADs to use
int I_PickIWad (WadStuff *wads, int numwads, bool queryiwad, int defaultiwad);
int I_PickIWad (WadStuff *wads, int numwads, bool queryiwad, int defaultiwad, int&);
// [RH] Checks the registry for Steam's install path, so we can scan its
// directories for IWADs if the user purchased any through Steam.

View file

@ -73,7 +73,7 @@ bool CheckIfRaw(FileReader & data, int desiredsize)
data.Seek(0, FileReader::SeekSet);
auto bits = data.Read(data.GetLength());
foo = (patch_t *)bits.Data();;
foo = (patch_t *)bits.Data();
height = LittleShort(foo->height);
width = LittleShort(foo->width);

View file

@ -1484,7 +1484,7 @@ int FTextureManager::CountLumpTextures (int lumpnum)
if (lumpnum >= 0)
{
auto file = fileSystem.OpenFileReader (lumpnum);
uint32_t numtex = file.ReadUInt32();;
uint32_t numtex = file.ReadUInt32();
return int(numtex) >= 0 ? numtex : 0;
}