Skip to content

Commit

Permalink
- smol fix nombre 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SoapyMan committed May 31, 2022
1 parent 126151c commit db94cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routines/textures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void CDriverLevelTextures::FreeAll()
// getters
CTexturePage* CDriverLevelTextures::GetTPage(int page) const
{
if (page > 0 && page < m_numTexPages)
if (page >= 0 && page < m_numTexPages)
return &m_texPages[page];
return nullptr;
}
Expand Down

0 comments on commit db94cef

Please sign in to comment.