diff options
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r-- | src/resources/beingcommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h index c79e8a76c..5b58bf78d 100644 --- a/src/resources/beingcommon.h +++ b/src/resources/beingcommon.h @@ -41,7 +41,9 @@ struct SpriteDisplay; VirtFs::getFilesInDir(paths.getStringValue( \ name), listVect, ".xml"); \ FOR_EACH (StringVectCIter, itVect, listVect) \ + { \ function(*itVect, SkipError_true); \ + } \ } #define loadXmlDir2(name, function, ext, skipError) \ @@ -49,7 +51,9 @@ struct SpriteDisplay; StringVect listVect; \ VirtFs::getFilesInDir(name, listVect, ext); \ FOR_EACH (StringVectCIter, itVect, listVect) \ + { \ function(*itVect, skipError); \ + } \ } namespace BeingCommon |