Fix Windows build
This commit is contained in:
@@ -131,7 +131,7 @@ bool handle_startup_press(location the_point) {
|
||||
return false;
|
||||
}
|
||||
|
||||
extern int display_mode;
|
||||
extern short display_mode;
|
||||
extern bool show_startup_splash;
|
||||
|
||||
void handle_splash_events() {
|
||||
|
@@ -175,8 +175,7 @@ namespace ResMgr {
|
||||
template<typename type> bool have(std::string name) {
|
||||
if(resPool<type>::resources().find(name) != resPool<type>::resources().end())
|
||||
return true;
|
||||
resLoader<type> load;
|
||||
return resPool<type>::find(name, load.file_ext).is_absolute();
|
||||
return resPool<type>::find(name, resLoader<type>::file_ext).is_absolute();
|
||||
}
|
||||
|
||||
/// Check if a resource with the given numerical ID exists
|
||||
|
Reference in New Issue
Block a user