From 1f9ba897b8aa8afe776928ecd5ca480b8b2fc3a8 Mon Sep 17 00:00:00 2001 From: RichieSams Date: Tue, 1 Oct 2013 18:00:57 -0500 Subject: ZVISION: Convert _timeLeft to a signed int This allows time decrementing to go negative instead of wrapping to UINT_MAX. Which makes comparisons easier. --- engines/zvision/timer_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/zvision') 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 -- cgit v1.2.3