Ticket #15883: draw.cpp.patch
| File draw.cpp.patch, 620 bytes (added by , 11 months ago) |
|---|
-
engines/ags/engine/ac/draw.cpp
old new 1387 1387 // Generates RoomObject's raw bitmap and saves in actsps; updates object cache. 1388 1388 bool construct_object_gfx(int objid, bool force_software) { 1389 1389 const RoomObject &obj = _G(objs)[objid]; 1390 if ( !_GP(spriteset).DoesSpriteExist(obj.num))1390 if (_GP(spriteset)[obj.num] == nullptr) 1391 1391 quitprintf("There was an error drawing object %d. Its current sprite, %d, is invalid.", objid, obj.num); 1392 1392 1393 1393 ObjectCache objsrc(obj.num, obj.tint_r, obj.tint_g, obj.tint_b,
