projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for coverity #29409 - Use char 0 instead of NULL
[supertux.git]
/
src
/
badguy
/
willowisp.hpp
diff --git
a/src/badguy/willowisp.hpp
b/src/badguy/willowisp.hpp
index
9076e6a
..
0cf10dc
100644
(file)
--- a/
src/badguy/willowisp.hpp
+++ b/
src/badguy/willowisp.hpp
@@
-26,8
+26,8
@@
class SoundSource;
#include "scripting/willowisp.hpp"
#include "supertux/script_interface.hpp"
#include "scripting/willowisp.hpp"
#include "supertux/script_interface.hpp"
-class WillOWisp : public BadGuy,
- public
S
cripting::WillOWisp,
+class WillOWisp : public BadGuy,
+ public
s
cripting::WillOWisp,
public ScriptInterface
{
public:
public ScriptInterface
{
public:
@@
-73,14
+73,15
@@
private:
std::string target_spawnpoint;
std::string hit_script;
std::string target_spawnpoint;
std::string hit_script;
- std::
auto
_ptr<SoundSource> sound_source;
+ std::
unique
_ptr<SoundSource> sound_source;
- std::
auto
_ptr<Path> path;
- std::
auto
_ptr<PathWalker> walker;
+ std::
unique
_ptr<Path> path;
+ std::
unique
_ptr<PathWalker> walker;
float flyspeed;
float track_range;
float vanish_range;
float flyspeed;
float track_range;
float vanish_range;
+ SpritePtr lightsprite;
};
#endif
};
#endif