mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-01 08:23:02 +00:00
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:
parent
e308571a4f
commit
567e702e98
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ void DynOS_Read_Source(GfxData *aGfxData, const SysPath &aFilename) {
|
||||||
} else if (_Buffer == "Ambient_t") {
|
} else if (_Buffer == "Ambient_t") {
|
||||||
_DataType = DATA_TYPE_AMBIENT_T;
|
_DataType = DATA_TYPE_AMBIENT_T;
|
||||||
} else if (_Buffer == "u8") {
|
} else if (_Buffer == "u8") {
|
||||||
_DataType = strstr(aFilename.c_str(), "room")
|
_DataType = strstr(aFilename.c_str(), "room.inc")
|
||||||
? DATA_TYPE_ROOMS
|
? DATA_TYPE_ROOMS
|
||||||
: DATA_TYPE_TEXTURE;
|
: DATA_TYPE_TEXTURE;
|
||||||
} else if (_Buffer == "Texture") {
|
} else if (_Buffer == "Texture") {
|
||||||
|
|
Loading…
Reference in a new issue