LeOnArd0
Member
- Joined
- Jan 24, 2010
- Messages
- 76
- Reaction score
- 14
Hey guys! Does anyone know what could be going on?
When I look at any sign, the duplicate message appears.
When I'm away, it displays a message along with a sentence of: "You are too far away to read it."
Duplicate message
It doesn't duplicate, but it show the message + sentence "You are too far away to read it".
I found this message in Item.cpp, but I didn't notice anything wrong.
Can anyone help me?
Tks.
Leo
When I look at any sign, the duplicate message appears.
When I'm away, it displays a message along with a sentence of: "You are too far away to read it."
Duplicate message
It doesn't duplicate, but it show the message + sentence "You are too far away to read it".
I found this message in Item.cpp, but I didn't notice anything wrong.
C++:
if (lookDistance <= 4) {
if (item) {
text = &item->getText();
if (!text->empty()) {
const std::string& writer = item->getWriter();
if (!writer.empty()) {
s << writer << " wrote";
time_t date = item->getDate();
if (date != 0) {
s << " on " << formatDateShort(date);
}
s << ": ";
} else {
s << "You read: ";
}
s << *text;
} else {
s << "Nothing is written on it";
}
} else {
s << "Nothing is written on it";
}
} else {
s << "You are too far away to read it";
}
Can anyone help me?
Tks.
Leo