aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2022-11-14 22:22:52 +0000
committerGitHub <noreply@github.com>2022-11-14 23:22:52 +0100
commit17d8f97607f51e75497ed413d0d80f8416a2b3e6 (patch)
tree54b01164f54245a6b31c171d54ffb051d29ee816
parent74f0ee8b5807e2c46541cdbc3460165200051b07 (diff)
downloadNorthstarMods-17d8f97607f51e75497ed413d0d80f8416a2b3e6.tar.gz
NorthstarMods-17d8f97607f51e75497ed413d0d80f8416a2b3e6.zip
Add missing `unreachable` to stop compile error (#528)
-rw-r--r--Northstar.Client/mod/scripts/vscripts/client/cl_titan_cockpit.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/client/cl_titan_cockpit.nut b/Northstar.Client/mod/scripts/vscripts/client/cl_titan_cockpit.nut
index 4df1af422..8261b3fd8 100644
--- a/Northstar.Client/mod/scripts/vscripts/client/cl_titan_cockpit.nut
+++ b/Northstar.Client/mod/scripts/vscripts/client/cl_titan_cockpit.nut
@@ -1047,6 +1047,7 @@ string function RollRandomEjectString()
else
return file.moddedCommonEjectMessages[index - COCKPIT_EJECT_COMMON_COUNT]
+ unreachable
}
void function PlayerEjects( entity player, entity cockpit ) //Note that this can be run multiple times in a frame, e.g. get damaged by 4 pellets of a shotgun that brings the Titan into a doomed state with auto eject. Not ideal