diff options
author | Strangerke | 2016-07-25 16:17:50 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | a21c6778314a17e56d9faf5c5d6693a63cc634e5 (patch) | |
tree | f67a3561096a5170d3bea2c250dacbc7cd836d67 /engines/dm | |
parent | cdbbc15e5623f47a0e93e5d9113ac64b709cf6de (diff) | |
download | scummvm-rg350-a21c6778314a17e56d9faf5c5d6693a63cc634e5.tar.gz scummvm-rg350-a21c6778314a17e56d9faf5c5d6693a63cc634e5.tar.bz2 scummvm-rg350-a21c6778314a17e56d9faf5c5d6693a63cc634e5.zip |
DM: Remove useless cast and the associated obsolete comment
Diffstat (limited to 'engines/dm')
-rw-r--r-- | engines/dm/timeline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dm/timeline.cpp b/engines/dm/timeline.cpp index 8baddf0abf..33a99c9b2f 100644 --- a/engines/dm/timeline.cpp +++ b/engines/dm/timeline.cpp @@ -380,8 +380,7 @@ T0261053: } 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) { |