diff options
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r-- | src/scenery.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp index f3a11f6d..24431a6b 100644 --- a/src/scenery.cpp +++ b/src/scenery.cpp @@ -152,7 +152,10 @@ scenery::scenery(object_id id, struct chunk& c, const scenery_proto& proto) : object{id, c, proto}, sc_type{proto.sc_type}, active{proto.active}, closing{proto.closing}, interactive{proto.interactive} { - fm_debug_assert(atlas); // todo add placeholder graphic +#ifndef FM_NO_DEBUG + if (id != 0) + fm_debug_assert(atlas); // todo add placeholder graphic +#endif } } // namespace floormat |