mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Fix potential null pointer dereference
git-svn-id: https://svn.eduke32.com/eduke32@6996 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
065bd8df60
commit
fbbaeff95a
1 changed files with 2 additions and 1 deletions
|
@ -1972,7 +1972,8 @@ static void sv_restload()
|
||||||
}
|
}
|
||||||
#undef CPDAT
|
#undef CPDAT
|
||||||
|
|
||||||
g_player[myconnectindex].ps->auto_aim = ud.config.AutoAim;
|
if (g_player[myconnectindex].ps)
|
||||||
|
g_player[myconnectindex].ps->auto_aim = ud.config.AutoAim;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUGGINGAIDS
|
#ifdef DEBUGGINGAIDS
|
||||||
|
|
Loading…
Reference in a new issue