Mercurial > mm7
comparison SpriteObject.cpp @ 1980:c1c74df0a33e
changing most of auto types to their actual types
author | Grumpy7 |
---|---|
date | Wed, 30 Oct 2013 00:47:37 -0700 |
parents | 436553b0603c |
children | 7a9477135943 |
comparison
equal
deleted
inserted
replaced
1979:92dfa0cafbe3 | 1980:c1c74df0a33e |
---|---|
1052 //----- (00408896) -------------------------------------------------------- | 1052 //----- (00408896) -------------------------------------------------------- |
1053 void InitializeSpriteObjects() | 1053 void InitializeSpriteObjects() |
1054 { | 1054 { |
1055 for (uint i = 0; i < uNumSpriteObjects; ++i) | 1055 for (uint i = 0; i < uNumSpriteObjects; ++i) |
1056 { | 1056 { |
1057 auto item = &pSpriteObjects[i]; | 1057 SpriteObject* item = &pSpriteObjects[i]; |
1058 | 1058 |
1059 if (item->uType && | 1059 if (item->uType && |
1060 (item->uSoundID & 8 || pObjectList->pObjects[item->uType].uFlags & 0x10)) | 1060 (item->uSoundID & 8 || pObjectList->pObjects[item->uType].uFlags & 0x10)) |
1061 SpriteObject::OnInteraction(i); | 1061 SpriteObject::OnInteraction(i); |
1062 } | 1062 } |