Changed hotspot references to use updated hotspot methods

svn-id: r20765
This commit is contained in:
Paul Gilbert 2006-02-19 04:19:09 +00:00
parent d0fe9fdd79
commit 8de9189ffe

View File

@ -61,10 +61,10 @@ void showActiveHotspots() {
s += strlen(s);
sprintf(s, "h pos=(%d,%d,%d) size=(%d,%d) - ",
h.resource().roomNumber, h.x(), h.y(), h.width(), h.height());
h.roomNumber(), h.x(), h.y(), h.width(), h.height());
s += strlen(s);
uint16 nameId = h.resource().nameId;
uint16 nameId = h.nameId();
if (nameId != 0) {
StringData::getReference().getString(nameId, s, NULL, NULL);
s += strlen(s);