mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue