Mercurial > mm7
changeset 372:6a2b4d1be013
.
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 17:56:00 +0200 |
parents | d1d1e1daa7f7 |
children | edd2d8b7e3c4 |
files | TurnEngine.h |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TurnEngine.h Fri Feb 22 17:48:00 2013 +0200 +++ b/TurnEngine.h Fri Feb 22 17:56:00 2013 +0200 @@ -6,6 +6,13 @@ #pragma pack(push, 1) struct TurnBased_QueueElem { + inline TurnBased_QueueElem() + { + uPackedID = 0; + field_4 = 0; + uActionLength = 0; + field_C = 0; + } int uPackedID; int field_4; int uActionLength; @@ -27,7 +34,6 @@ uActionPointsLeft = 0; field_18 = 0; field_1C = 0; - memset(pQueue, 0, sizeof(pQueue)); } signed int _404544();