Describe the issue
Upon compilation using make, it fails with the following:
game/game.h: In member function 'virtual void game::clientmode::pickspawn(gameent*)':
game/game.h:791:46: error: 'findplayerspawn' was not declared in this scope
791 | virtual void pickspawn(gameent *d) { findplayerspawn(d, -1, modecheck(gamemode, Mode_Team) ? d->team : 0); }
| ^~~~~~~~~~~~~~~
In file included from game/cserver.cpp:1:
game/game.h: In member function 'virtual void game::clientmode::pickspawn(gameent*)':
game/game.h:791:46: error: 'findplayerspawn' was not declared in this scope
791 | virtual void pickspawn(gameent *d) { findplayerspawn(d, -1, modecheck(gamemode, Mode_Team) ? d->team : 0); }
| ^~~~~~~~~~~~~~~
In file included from game/edit.cpp:1:
game/game.h: In member function 'virtual void game::clientmode::pickspawn(gameent*)':
game/game.h:791:46: error: 'findplayerspawn' was not declared in this scope
791 | virtual void pickspawn(gameent *d) { findplayerspawn(d, -1, modecheck(gamemode, Mode_Team) ? d->team : 0); }
| ^~~~~~~~~~~~~~~
In file included from game/client.cpp:3:
game/game.h: In member function 'virtual void game::clientmode::pickspawn(gameent*)':
game/game.h:791:46: error: 'findplayerspawn' was not declared in this scope
791 | virtual void pickspawn(gameent *d) { findplayerspawn(d, -1, modecheck(gamemode, Mode_Team) ? d->team : 0); }
| ^~~~~~~~~~~~~~~
Inspecting the code, it seems like the function is declared in "entities.cpp" but not added to the correct header files, thus causing the error.
I'd fix this myself but I have no idea what to touch
Describe the issue Upon compilation using make, it fails with the following:
Inspecting the code, it seems like the function is declared in "entities.cpp" but not added to the correct header files, thus causing the error. I'd fix this myself but I have no idea what to touch
Important Information: