![]() |
pBot->pBotEnemy->v.netname causing crash
Code:
if (strstr(bot_kill[kill_index], "%s") != NULL) // is "%s" in whine text? is causing crash ! Anyone know why this happen ? and btw , I'm using STEAM cs1.6 |
Re: pBot->pBotEnemy->v.netname causing crash
is pBot NULL?
is pBot->pBotEnemy NULL? I'm guessing pBotenemy is NULL, shouldn't it be victim_edict or something instead of pBotEnemy? |
Re: pBot->pBotEnemy->v.netname causing crash
when the bot dies, it resets itself.
Which means that pBotEnemy is likely to be zeroed out. :) |
Re: pBot->pBotEnemy->v.netname causing crash
ok , I fix the bug , yeah because the pBot->pBotEnemy was zerod out , thanks for your help
|
All times are GMT +2. The time now is 19:00. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.