mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 17:00:56 +00:00
a.m32: Don't reposition head light if in void space, fixing crash.
git-svn-id: https://svn.eduke32.com/eduke32@3651 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
abcc98d5c1
commit
478544acb6
1 changed files with 3 additions and 0 deletions
|
@ -1148,6 +1148,9 @@ defstate update_headlight
|
|||
ifvare headlight_enabled 0
|
||||
break
|
||||
|
||||
ifvarl cursectnum 0
|
||||
break
|
||||
|
||||
ifvarn light[li].active 1
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue