mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 11:51:20 +00:00
Fix compile errors from 669ba885ceecad83562dc2084057232f7c7fca0f
Sorry, you can't avoid including unit.hpp in all cases. But, it's still a lot less than it used to be.
This commit is contained in:
parent
65ecc2d8ca
commit
ca51442277
@ -12,8 +12,7 @@
|
||||
See the COPYING file for more details.
|
||||
*/
|
||||
|
||||
#include "units/ptr.hpp"
|
||||
#include "units/unit.hpp"
|
||||
#include "units/make.hpp"
|
||||
|
||||
unit_ptr make_unit_ptr(const config& cfg, bool use_traits, const vconfig* vcfg){
|
||||
return { new unit(cfg, use_traits, vcfg) };
|
||||
|
@ -13,6 +13,9 @@
|
||||
*/
|
||||
|
||||
#include "units/race.hpp"
|
||||
#include "units/ptr.hpp"
|
||||
#include "units/unit.hpp"
|
||||
|
||||
class config;
|
||||
class unit_type;
|
||||
class vconfig;
|
||||
|
Loading…
x
Reference in New Issue
Block a user