mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- fixed compile
This commit is contained in:
parent
c1d603e1e9
commit
41ba829665
4 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue