Update dynos_bin_read.cpp (#198)

Added an extra ".inc" to the room.inc.c check so things like "mushroom" don't get flagged as rooms
This commit is contained in:
Agent X 2022-09-19 22:36:10 -04:00 committed by GitHub
parent 337901f3ce
commit 92c175cddb
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void DynOS_Read_Source(GfxData *aGfxData, const SysPath &aFilename) {
} else if (_Buffer == "Ambient_t") {
_DataType = DATA_TYPE_AMBIENT_T;
} else if (_Buffer == "u8") {
_DataType = strstr(aFilename.c_str(), "room")
_DataType = strstr(aFilename.c_str(), "room.inc")
? DATA_TYPE_ROOMS
: DATA_TYPE_TEXTURE;
} else if (_Buffer == "Texture") {