aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichieSams2013-10-01 18:00:57 -0500
committerRichieSams2013-10-02 09:09:56 -0500
commit1f9ba897b8aa8afe776928ecd5ca480b8b2fc3a8 (patch)
tree1c08bc30009624ee855e6261d17a15043b215b3c
parent28ac59307b43da50964ad732a65dc676d613ad73 (diff)
downloadscummvm-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.h2
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