Mercurial > mm7
diff Items.cpp @ 1843:2e6d3cd052e0
some char* cast removal + adding const_casts where appropriate
author | Grumpy7 |
---|---|
date | Sun, 13 Oct 2013 07:18:03 +0200 |
parents | 211dfe2d8db1 |
children | dd9d4b7c1199 |
line wrap: on
line diff
--- a/Items.cpp Sun Oct 13 06:32:06 2013 +0200 +++ b/Items.cpp Sun Oct 13 07:18:03 2013 +0200 @@ -2824,7 +2824,7 @@ default: v30 = pGlobalTXT_LocalizationStrings[127]; //"No Text!" } - pShopOptions[dword_F8B1DC] = (char *)v30; + pShopOptions[dword_F8B1DC] = const_cast<char *>(v30); ++dword_F8B1DC; CreateButtonInColumn(i+1, v29); }