projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Split systemRandom into graphicsRandom (particles, eye candy, etc.) and gameRandom...
[supertux.git]
/
src
/
object
/
skull_tile.cpp
diff --git
a/src/object/skull_tile.cpp
b/src/object/skull_tile.cpp
index
5ad5eab
..
9aff79f
100644
(file)
--- a/
src/object/skull_tile.cpp
+++ b/
src/object/skull_tile.cpp
@@
-49,7
+49,7
@@
SkullTile::draw(DrawingContext& context)
Vector pos = get_pos();
// shaking
if(timer.get_timegone() > CRACKTIME) {
- pos.x +=
system
Random.rand(-3, 3);
+ pos.x +=
graphics
Random.rand(-3, 3);
}
sprite->draw(context, pos, layer);