J :
* Add newline at the end, remove end-of-line whitespace.
This commit is contained in:
@@ -772,4 +772,4 @@ void ActionStack::Dump(){
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -443,6 +443,6 @@ JSample * MTGCardInstance::getSample(){
|
||||
}
|
||||
|
||||
if (sample.size()) return SampleCache::GetInstance()->getSample(sample);
|
||||
|
||||
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,4 +51,4 @@ string Subtypes::find(int id){
|
||||
if (it->second == id) return it->first;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ JSample * SampleCache::getSample(string filename){
|
||||
cleanCache();
|
||||
sample = JSoundSystem::GetInstance()->LoadSample(filename.c_str());
|
||||
}
|
||||
|
||||
|
||||
cache[filename] = NEW SampleCached(lastTime, sample);
|
||||
return sample;
|
||||
}else{
|
||||
@@ -170,4 +170,4 @@ void SampleCache::cleanCache(){
|
||||
|
||||
SampleCache::~SampleCache(){
|
||||
cleanCache();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user