b-casey / OpenSMACX

A project to decompile SMAC/X to C++ with the long term goal of creating a full open source clone.
GNU General Public License v3.0
52 stars 4 forks source link

Simplify src/time.cpp #23

Closed DrazharLn closed 3 years ago

DrazharLn commented 3 years ago

No need to manually unroll the first iteration of loops.

WM_USER|WM_CREATE suggests that the value has something to do with WM_CREATE, but that's not true. SMACX is just using WM_USER+1 for messages about its timers.