Finish the Metal demo if the Metal playback object is dead.
This commit is contained in:
parent
2d1a574e09
commit
56d095e39f
|
@ -4936,6 +4936,12 @@ void G_ReadMetalTic(mobj_t *metal)
|
||||||
if (!metal_p)
|
if (!metal_p)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!metal->health)
|
||||||
|
{
|
||||||
|
G_StopMetalDemo();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (*metal_p)
|
switch (*metal_p)
|
||||||
{
|
{
|
||||||
case METALSNICE:
|
case METALSNICE:
|
||||||
|
|
Loading…
Reference in New Issue