diff options
Diffstat (limited to 'src/win95/obchunk.cpp')
| -rw-r--r-- | src/win95/obchunk.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/win95/obchunk.cpp b/src/win95/obchunk.cpp index 6f159d8..b062570 100644 --- a/src/win95/obchunk.cpp +++ b/src/win95/obchunk.cpp @@ -7,9 +7,6 @@ #include "md5.h" // Class Object_Chunk functions -#ifdef cencon -#define new my_new -#endif //macro for helping to force inclusion of chunks when using libraries FORCE_CHUNK_INCLUDE_IMPLEMENT(obchunk) @@ -402,19 +399,7 @@ ObjectID Object_Chunk::CalculateID() if(!chlist.size()) return retval; char Name[100]; - #if InterfaceEngine||cencon - //need to check for console specific rif files,and skip the 'sat' or 'psx' - //so that they get the same ids as the pc - const char* r_name=((RIF_Name_Chunk*)chlist.first_entry())->rif_name; - if(tolower(r_name[0])=='p' && tolower(r_name[1])=='s' && tolower(r_name[2])=='x' ) - strcpy(Name,&r_name[3]); - else if (tolower(r_name[0])=='s' && tolower(r_name[1])=='a' && tolower(r_name[2])=='t' ) - strcpy(Name,&r_name[3]); - else - strcpy(Name,r_name); - #else strcpy(Name,((RIF_Name_Chunk*)chlist.first_entry())->rif_name); - #endif strcat(Name,object_data.o_name); char buffer[16]; |
