mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 12:40:25 +02:00
Quake 4 integrated with DoomRTX
This commit is contained in:
@@ -734,7 +734,11 @@ bool Map_SaveFile(const char *filename, bool use_region, bool autosave) {
|
||||
(int)g_pParentWnd->GetCamera()->Camera().origin[1],
|
||||
(int)g_pParentWnd->GetCamera()->Camera().origin[2],
|
||||
(int)g_pParentWnd->GetCamera()->Camera().angles[YAW] );
|
||||
idLexer src( LEXFL_NOSTRINGCONCAT | LEXFL_NOSTRINGESCAPECHARS | LEXFL_ALLOWPATHNAMES );
|
||||
#ifdef QUAKE4
|
||||
Lexer src( LEXFL_NOSTRINGCONCAT | LEXFL_NOSTRINGESCAPECHARS | LEXFL_ALLOWPATHNAMES );
|
||||
#else
|
||||
idLexer src(LEXFL_NOSTRINGCONCAT | LEXFL_NOSTRINGESCAPECHARS | LEXFL_ALLOWPATHNAMES);
|
||||
#endif
|
||||
src.LoadMemory( buf, buf.Length(), "regionbuf" );
|
||||
idMapEntity *playerstart = idMapEntity::Parse( src );
|
||||
map.AddEntity( playerstart );
|
||||
|
||||
Reference in New Issue
Block a user