Skip to content

Commit 7619985

Browse files
committed
Store gameEdit as idGameEditBase
1 parent d07ba42 commit 7619985

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

neo/d3xp/GameEdit.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
670670
===============================================================================
671671
*/
672672

673-
idGameEditExt gameEditLocal;
674-
idGameEdit * gameEdit = &gameEditLocal;
673+
idGameEditExt gameEditLocal;
674+
idGameEditBase * gameEdit = &gameEditLocal;
675675

676676

677677
/*

neo/framework/Common.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ unsigned int com_msgID = -1;
126126

127127
#ifdef __DOOM_DLL__
128128
idGame * game = NULL;
129-
idGameEdit * gameEdit = NULL;
129+
idGameEditBase * gameEdit = NULL;
130130
#endif
131131

132132
// writes si_version to the config file - in a kinda obfuscated way

neo/framework/Game.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class idGameEdit : public idGameEditBase {
397397
virtual void MapEntityTranslate( const char *name, const idVec3 &v ) const;
398398
};
399399

400-
extern idGameEdit * gameEdit;
400+
extern idGameEditBase * gameEdit;
401401

402402
// In game script Debugging Support
403403
class idGameEditExt : public idGameEdit {
@@ -467,7 +467,7 @@ typedef struct {
467467

468468
int version; // API version
469469
idGame * game; // interface to run the game
470-
idGameEdit * gameEdit; // interface for in-game editing
470+
idGameEditBase * gameEdit; // interface for in-game editing
471471

472472
} gameExport_t;
473473

neo/game/GameEdit.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
670670
===============================================================================
671671
*/
672672

673-
idGameEditExt gameEditLocal;
674-
idGameEdit * gameEdit = &gameEditLocal;
673+
idGameEditExt gameEditLocal;
674+
idGameEditBase * gameEdit = &gameEditLocal;
675675

676676

677677
/*

0 commit comments

Comments
 (0)