projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Badguys rely on new (dummy-)function get_nearest_player. /
[supertux.git]
/
src
/
badguy
/
nolok_01.cpp
diff --git
a/src/badguy/nolok_01.cpp
b/src/badguy/nolok_01.cpp
index
513f22a
..
64650af
100644
(file)
--- a/
src/badguy/nolok_01.cpp
+++ b/
src/badguy/nolok_01.cpp
@@
-147,7
+147,7
@@
Nolok_01::kill_fall()
if (bullet_hitpoints <= 0) {
hitpoints = 0;
sound_manager->play("sounds/fall.wav", this,
-
Sector::current()->player
->get_pos());
+
this
->get_pos());
physic.set_velocity_y(0);
physic.enable_gravity(true);
set_state(STATE_FALLING);