Mercurial > mm7
diff Events.cpp @ 762:cf2fbac6edc9
Misc cleaning
author | Nomad |
---|---|
date | Sat, 23 Mar 2013 19:47:01 +0200 |
parents | 585490c29945 |
children | a464d28566a6 |
line wrap: on
line diff
--- a/Events.cpp Sat Mar 23 13:40:00 2013 +0200 +++ b/Events.cpp Sat Mar 23 19:47:01 2013 +0200 @@ -1,3 +1,4 @@ +#include <assert.h> #include <stdlib.h> #include "MapInfo.h" @@ -87,7 +88,7 @@ //----- (00443DA1) -------------------------------------------------------- void __cdecl Initialize_GlobalEVT() - { +{ struct raw_event_header { unsigned char evt_size; @@ -116,7 +117,8 @@ } uGlobalEVT_NumEvents = events_count; - } + assert(uGlobalEVT_NumEvents < 4400); +} //----- (00443EF8) --------------------------------------------------------