fix warning

svn-id: r25450
This commit is contained in:
Max Horn 2007-02-09 17:17:08 +00:00
parent 2d84b43dfc
commit a49c22290f

View file

@ -708,7 +708,7 @@ CharacterScheduleEntry *CharacterScheduleEntry::next() {
}
uint16 CharacterScheduleEntry::id() {
return (_parent == NULL) ? NULL : _parent->getId(this);
return (_parent == NULL) ? 0 : _parent->getId(this);
}
CharacterScheduleSet::CharacterScheduleSet(CharacterScheduleResource *rec, uint16 setId) {