Mercurial > mm7
changeset 2484:cc7019a533fc
Fixing dereferencing of an integer instead of a pointer to it
author | Grumpy7 |
---|---|
date | Sat, 06 Sep 2014 21:45:26 +0200 |
parents | b3f96acf6bab |
children | 45102c9132e1 |
files | DecalBuilder.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/DecalBuilder.cpp Sat Sep 06 20:52:46 2014 +0200 +++ b/DecalBuilder.cpp Sat Sep 06 21:45:26 2014 +0200 @@ -386,7 +386,7 @@ pGame->pIndoorCameraD3D->_436CDC_mess_with_lightmap__clipflag_2(v13->pVertices, v13->uNumVertices, this->pVertices, &a8b); //v40 = (int)v31; //v39 = this->pVertices; - pGame->pIndoorCameraD3D->_437143(a8b, v13->pVertices, this->pVertices, (unsigned int *)v13->uNumVertices); + pGame->pIndoorCameraD3D->_437143(a8b, v13->pVertices, this->pVertices, (unsigned int *)&v13->uNumVertices); } else if ( uClipFlags & 4 ) { @@ -395,7 +395,7 @@ pGame->pIndoorCameraD3D->_436F09_mess_with_lightmap__clipflag_4(v13->pVertices, v13->uNumVertices, this->pVertices, &a8b); //v40 = (int)v31; //v39 = this->pVertices; - pGame->pIndoorCameraD3D->_437143(a8b, v13->pVertices, this->pVertices, (unsigned int *)v13->uNumVertices); + pGame->pIndoorCameraD3D->_437143(a8b, v13->pVertices, this->pVertices, (unsigned int *)&v13->uNumVertices); } else MessageBoxA(nullptr, "Undefined clip flag specified", "E:\\WORK\\MSDEV\\MM7\\MM7\\Code\\PolyProjector.cpp:258", 0);