mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +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,6 +1972,7 @@ static void sv_restload()
|
||||||
}
|
}
|
||||||
#undef CPDAT
|
#undef CPDAT
|
||||||
|
|
||||||
|
if (g_player[myconnectindex].ps)
|
||||||
g_player[myconnectindex].ps->auto_aim = ud.config.AutoAim;
|
g_player[myconnectindex].ps->auto_aim = ud.config.AutoAim;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue