File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,8 @@ int Source2Provider::DetermineSourceEngine()
213213 return SOURCE_ENGINE_DOTA;
214214#elif SOURCE_ENGINE == SE_CS2
215215 return SOURCE_ENGINE_CS2;
216+ #elif SOURCE_ENGINE == SE_DEADLOCK
217+ return SOURCE_ENGINE_DEADLOCK;
216218#else
217219#error "SOURCE_ENGINE not defined to a known value"
218220#endif
@@ -224,6 +226,8 @@ const char* Source2Provider::GetEngineDescription() const
224226 return " Dota 2 (2013)" ;
225227#elif SOURCE_ENGINE == SE_CS2
226228 return " Counter-Strike 2 (2023)" ;
229+ #elif SOURCE_ENGINE == SE_DEADLOCK
230+ return " Deadlock (2024)" ;
227231#else
228232#error "SOURCE_ENGINE not defined to a known value"
229233#endif
Original file line number Diff line number Diff line change @@ -362,7 +362,11 @@ class ISource2Server
362362
363363 virtual InitReturnVal_t Init ()
364364 {
365- if (!stricmp (" csgo" , game_name))
365+ if (!stricmp (" citadel" , game_name))
366+ {
367+ mm_backend = MMBackend_Deadlock;
368+ }
369+ else if (!stricmp (" csgo" , game_name))
366370 {
367371 mm_backend = MMBackend_CS2;
368372 }
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ static const char *backend_names[] =
102102 " 2.pvkii" ,
103103 " 2.mcv" ,
104104 " 2.cs2" ,
105+ " 2.deadlock" ,
105106};
106107
107108#if defined _WIN32
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ enum MetamodBackend
107107 MMBackend_PVKII ,
108108 MMBackend_MCV ,
109109 MMBackend_CS2 ,
110+ MMBackend_Deadlock ,
110111 MMBackend_UNKNOWN
111112};
112113
You can’t perform that action at this time.
0 commit comments