Skip to content

Commit

Permalink
DM: Remove useless cast and the associated obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke authored and Bendegúz Nagy committed Aug 26, 2016
1 parent cdbbc15 commit a21c677
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions engines/dm/timeline.cpp
Expand Up @@ -380,8 +380,7 @@ void Timeline::f261_processTimeline() {
}

bool Timeline::f240_isFirstEventExpiered() {
warning(false, "possibly dangerous cast to uint32");
return (_vm->_timeline->_g372_eventCount && ((uint32)M30_time(_vm->_timeline->_g370_events[_vm->_timeline->_g371_timeline[0]]._mapTime) <= _vm->_g313_gameTime));
return (_vm->_timeline->_g372_eventCount && (M30_time(_vm->_timeline->_g370_events[_vm->_timeline->_g371_timeline[0]]._mapTime) <= _vm->_g313_gameTime));
}

void Timeline::f239_timelineExtractFirstEvent(TimelineEvent* event) {
Expand Down

0 comments on commit a21c677

Please sign in to comment.