projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb4de1
)
Changed output message.
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 17 Aug 2004 21:53:20 +0000
(21:53 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 17 Aug 2004 21:53:20 +0000
(21:53 +0000)
SVN-Revision: 1795
lib/special/sprite_manager.cpp
patch
|
blob
|
history
diff --git
a/lib/special/sprite_manager.cpp
b/lib/special/sprite_manager.cpp
index
7c4bc1d
..
195130e
100644
(file)
--- a/
lib/special/sprite_manager.cpp
+++ b/
lib/special/sprite_manager.cpp
@@
-88,15
+88,12
@@
Sprite*
SpriteManager::load(const std::string& name)
{
Sprites::iterator i = sprites.find(name);
- if (i
!
= sprites.end())
+ if (i
=
= sprites.end())
{
- return i->second;
- }
- else
- {
- std::cout << "SpriteManager: Sprite '" << name << "' not found" << std::endl;
+ std::cerr << "Warning: Sprite '" << name << "' not found" << std::endl;
return 0;
}
+ return i->second;
}
/* EOF */