@@ -11,7 +11,15 @@ class Decorative extends Entity {
|
||||
|
||||
// Checks if the Map ID belongs to a standard decoration
|
||||
static bool isDecoration(int objId) {
|
||||
return (objId >= 23 && objId <= 70) || objId == 124;
|
||||
if (objId == 124) return true; // Dead guard
|
||||
if (objId >= 23 && objId <= 70) {
|
||||
// Exclude the collectibles!
|
||||
if ((objId >= 43 && objId <= 44) || (objId >= 47 && objId <= 56)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Safely calculates the VSWAP sprite index for standard decorations
|
||||
|
||||
Reference in New Issue
Block a user