diff options
author | RichieSams | 2013-10-01 18:00:57 -0500 |
---|---|---|
committer | RichieSams | 2013-10-02 09:09:56 -0500 |
commit | 1f9ba897b8aa8afe776928ecd5ca480b8b2fc3a8 (patch) | |
tree | 1c08bc30009624ee855e6261d17a15043b215b3c | |
parent | 28ac59307b43da50964ad732a65dc676d613ad73 (diff) | |
download | scummvm-rg350-1f9ba897b8aa8afe776928ecd5ca480b8b2fc3a8.tar.gz scummvm-rg350-1f9ba897b8aa8afe776928ecd5ca480b8b2fc3a8.tar.bz2 scummvm-rg350-1f9ba897b8aa8afe776928ecd5ca480b8b2fc3a8.zip |
ZVISION: Convert _timeLeft to a signed int
This allows time decrementing to go negative instead of
wrapping to UINT_MAX. Which makes comparisons easier.
-rw-r--r-- | engines/zvision/timer_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/timer_node.h b/engines/zvision/timer_node.h index 21c344bb15..4bc8397ff0 100644 --- a/engines/zvision/timer_node.h +++ b/engines/zvision/timer_node.h @@ -48,7 +48,7 @@ public: inline bool needsSerialization() { return true; } private: - uint32 _timeLeft; + int32 _timeLeft; }; } // End of namespace ZVision |