Fix Windows build

This commit is contained in:
2015-09-30 02:05:22 -04:00
parent b7435d4b6e
commit 16a09988f3
2 changed files with 2 additions and 3 deletions

View File

@@ -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() {

View File

@@ -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