- fixed compile.

This commit is contained in:
Christoph Oelckers 2022-10-02 20:45:00 +02:00
parent 519005ff4d
commit 2c29a93f1f
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); void Draw(int x, int y, int scale, bool cursor);
unsigned CalcCellSize(unsigned length); unsigned CalcCellSize(unsigned length);
unsigned CharsForCells(unsigned cellin, bool *overflow); unsigned CharsForCells(unsigned cellin, bool *overflow);
void MakeStartPosGood();; void MakeStartPosGood();
void CursorStart(); void CursorStart();
void CursorEnd(); void CursorEnd();

View file

@ -38,7 +38,7 @@ void I_PrintStr (const char *str);
void I_SetIWADInfo (); void I_SetIWADInfo ();
// Pick from multiple IWADs to use // 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 // [RH] Checks the registry for Steam's install path, so we can scan its
// directories for IWADs if the user purchased any through Steam. // 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); data.Seek(0, FileReader::SeekSet);
auto bits = data.Read(data.GetLength()); auto bits = data.Read(data.GetLength());
foo = (patch_t *)bits.Data();; foo = (patch_t *)bits.Data();
height = LittleShort(foo->height); height = LittleShort(foo->height);
width = LittleShort(foo->width); width = LittleShort(foo->width);

View file

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