From 78a597d6069471daa986406495f45b640f8f9766 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Wed, 7 Nov 2018 12:21:47 +1100 Subject: [PATCH] fix market cap issue --- gamemodes/irresistible/cnr/features/stocks/stocks.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/stocks/stocks.pwn b/gamemodes/irresistible/cnr/features/stocks/stocks.pwn index 794d713..08a2007 100644 --- a/gamemodes/irresistible/cnr/features/stocks/stocks.pwn +++ b/gamemodes/irresistible/cnr/features/stocks/stocks.pwn @@ -170,7 +170,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] ) case 2: { new - Float: market_cap = g_stockMarketReportData[ stockid ] [ 1 ] [ E_PRICE ] * g_stockMarketData[ stockid ] [ E_MAX_SHARES ] / 100000.0; + Float: market_cap = g_stockMarketReportData[ stockid ] [ 1 ] [ E_PRICE ] * g_stockMarketData[ stockid ] [ E_MAX_SHARES ] / 1000000.0; format( szLargeString, sizeof ( szLargeString ),