Skip to content

Commit 142b45f

Browse files
committed
Store gameEdit as idGameEditBase
1 parent 772566f commit 142b45f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

neo/d3xp/GameEdit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ void idEditEntities::DisplayEntities( void ) {
671671
*/
672672

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

676676

677677
/*

neo/framework/Common.cpp

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

121121
#ifdef __DOOM_DLL__
122122
idGame * game = NULL;
123-
idGameEdit * gameEdit = NULL;
123+
idGameEditBase * gameEdit = NULL;
124124
#endif
125125

126126
// 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
@@ -392,7 +392,7 @@ class idGameEdit : public idGameEditBase {
392392

393393
};
394394

395-
extern idGameEdit * gameEdit;
395+
extern idGameEditBase * gameEdit;
396396

397397

398398
/*
@@ -428,7 +428,7 @@ typedef struct {
428428

429429
int version; // API version
430430
idGame * game; // interface to run the game
431-
idGameEdit * gameEdit; // interface for in-game editing
431+
idGameEditBase * gameEdit; // interface for in-game editing
432432

433433
} gameExport_t;
434434

neo/game/GameEdit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ void idEditEntities::DisplayEntities( void ) {
671671
*/
672672

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

676676

677677
/*

0 commit comments

Comments
 (0)